:root {
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --navy: #102b46;
  --teal: #087f76;
  --background: #f7f8f5;
  color: var(--navy);
  background: var(--background);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #287cbd; outline-offset: 5px; }
section { scroll-margin-top: 2rem; }

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  background: white;
  z-index: 10;
}
.skip-link:focus { top: 1rem; }

.site-header { background: #fff; border-bottom: 1px solid #e1e8ed; }
.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.3rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand { display: inline-flex; margin-right: auto; flex-shrink: 0; }
.brand img { display: block; width: 180px; max-width: 100%; height: 75px; object-fit: contain; }
.header-inner .button { padding: 0.65rem 1rem; }
nav { display: flex; gap: 1.6rem; font-size: 0.95rem; font-weight: 600; }
nav a:hover { color: var(--teal); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 150ms ease;
}
.button:hover { background: #056a63; }
.page { max-width: 1160px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.hero {
  padding: clamp(3rem, 7vw, 6rem) 0;
  background: radial-gradient(ellipse at 95% 15%, #e7f0f7 0, transparent 60%);
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}
h1 { margin: 0; font-size: clamp(2.25rem, 5.3vw, 4rem); line-height: 1.12; letter-spacing: -0.045em; }
p { color: #344c63; line-height: 1.75; }
.intro { max-width: 68ch; margin: 1.5rem 0 2rem; font-size: 1.05rem; }
h2 { margin: 0 0 1.5rem; font-size: clamp(1.6rem, 3vw, 2rem); letter-spacing: -0.025em; }
.services-section { padding-bottom: 4rem; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.services article {
  padding: 1.6rem;
  border: 1px solid #e1e8ed;
  border-top: 3px solid #bdd9e9;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(16, 43, 70, 0.035);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .services article:hover {
    transform: translateY(-5px);
    border-color: #b9dcd7;
    border-top-color: var(--teal);
    background: #fbfefd;
    box-shadow: 0 14px 28px rgba(16, 43, 70, 0.1);
  }
  .services article:hover h3 { color: var(--teal); }
}
h3 { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.services p { margin-bottom: 0; font-size: 0.95rem; }
.contact-section {
  margin-bottom: 3rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #eaf4f2;
  border: 1px solid #d4e8e4;
  border-radius: 16px;
}
.contact-section p { max-width: 65ch; }
.contact-note { font-size: 0.9rem; }
.site-footer { padding: 1.5rem; border-top: 1px solid #e1e8ed; text-align: center; font-size: 0.8rem; color: #344c63; }

@media (max-width: 900px) {
  .header-inner { gap: 1rem; }
  .brand img { width: 165px; height: 69px; }
  nav { gap: 1rem; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .header-inner { flex-wrap: wrap; gap: 0.4rem; }
  .brand img { width: 145px; height: 60px; }
  .header-inner .button { padding: 0.7rem 0.9rem; font-size: 0.85rem; }
  nav { order: 3; width: 100%; padding-bottom: 0.3rem; }
  .services { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .services article { transition: none; }
  .services article:hover { transform: none; }
}

.language-switch { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; color: #65778a; }
.language-switch[hidden] { display: none; }
.language-switch button {
  border: 0;
  background: transparent;
  color: var(--navy);
  padding: 0.65rem 0.4rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.language-switch button[aria-pressed="true"] { color: var(--teal); font-weight: 800; text-decoration: underline; text-underline-offset: 0.3rem; }
.language-switch button:focus-visible { outline: 3px solid #287cbd; outline-offset: 2px; border-radius: 4px; }
@media (max-width: 1050px) { .header-inner { gap: 0.75rem; } nav { gap: 0.75rem; } }
@media (max-width: 400px) {
  .brand img { width: 110px; height: 46px; }
  .header-inner .button { padding: 0.6rem; font-size: 0.8rem; }
  .header-inner { gap: 0.3rem; }
}
