:root {
  --ink: #243748;
  --ink-soft: #546779;
  --line: #dbe7ef;
  --paper: #ffffff;
  --soft: #f5f9fc;
  --soft-2: #edf5fb;
  --blue: #1c7fb3;
  --blue-dark: #145f86;
  --blue-soft: #e9f4fb;
  --max: 1180px;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(22, 53, 79, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }
.container { width: min(var(--max), calc(100% - 40px)); margin: auto; }

.topbar {
  background: #eef5fa;
  color: var(--ink-soft);
  font-size: 0.86rem;
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 8px 0;
}
.topbar a:hover { color: var(--blue); }
.topbar-link { display: inline-flex; align-items: center; gap: 8px; }
.inline-icon { display: inline-flex; width: 15px; height: 15px; color: var(--blue); }
.inline-icon svg { width: 100%; height: 100%; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand img {
  display: block;
  width: 214px;
  max-width: 100%;
  height: auto;
}
.main-nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.main-nav a {
  font-size: 0.93rem;
  font-weight: 650;
  color: var(--ink-soft);
  padding: 8px 2px;
}
.main-nav a:hover {
  color: var(--blue);
}
.language-switcher {
  display: flex;
  gap: 8px;
  margin-left: 8px;
}
.language-switcher button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-soft);
  padding: 7px 10px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  transition: 0.2s ease;
}
.language-switcher button:hover {
  background: var(--soft);
  border-color: var(--line);
}
.language-switcher button.active {
  color: var(--blue-dark);
  background: var(--blue-soft);
  border-color: #c8dfef;
}
.flag { font-size: 1rem; line-height: 1; }
.lang-code { letter-spacing: 0.02em; }

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 1.15rem;
  color: var(--ink);
}

.hero {
  padding: 82px 0 72px;
  background:
    radial-gradient(circle at top right, rgba(28,127,179,0.08), transparent 30%),
    linear-gradient(180deg, #fbfdff 0%, #f4f9fc 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.72fr;
  gap: 54px;
  align-items: center;
}
.eyebrow,
.section-label {
  display: block;
  color: var(--blue);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(1.85rem, 3.1vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
  max-width: 980px;
}
.hero p {
  font-size: 1.03rem;
  color: var(--ink-soft);
  max-width: 700px;
  margin: 0;
}
.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 750;
  transition: 0.2s ease;
}
.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 30px rgba(28,127,179,0.22);
}
.button.primary:hover { background: var(--blue-dark); }
.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  color: var(--ink);
}
.button.secondary:hover { background: #fff; }

.hero-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
  color: var(--ink);
  padding: 32px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid #d9e7f1;
  box-shadow: var(--shadow);
}
.hero-card > strong {
  font-size: 1.28rem;
}
.hero-card > p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin-bottom: 10px;
}
.stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  margin-top: 16px;
}
.stat span {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--blue);
}
.stat small { color: var(--ink-soft); }

.section { padding: 82px 0; }
.section h2 {
  font-size: clamp(1.45rem, 2.05vw, 1.95rem);
  line-height: 1.16;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
}
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
}
.split p {
  font-size: 1rem;
  color: var(--ink-soft);
  margin-top: 0;
}
.muted {
  background: var(--soft);
}
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.card {
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 16px;
  min-height: 225px;
  box-shadow: 0 8px 22px rgba(22,53,79,0.04);
}
.card > span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--blue);
  font-weight: 850;
  background: var(--blue-soft);
}
.card h3 {
  font-size: 1.06rem;
  line-height: 1.35;
  margin: 18px 0 10px;
}
.card p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin: 0;
}

.reports { background: #fff; }
.document-list {
  border-top: 1px solid var(--line);
  margin-top: 34px;
}
.document-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 14px;
  border-bottom: 1px solid var(--line);
  border-radius: 14px;
  transition: 0.2s ease;
}
.document-list a:hover {
  background: var(--soft);
  transform: translateY(-1px);
}
.document-list strong {
  display: block;
  font-size: 1.02rem;
}
.document-list small { color: var(--ink-soft); }
.document-list b {
  font-size: 1.25rem;
  color: var(--blue);
}

.location-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.3fr;
  gap: 46px;
  align-items: center;
}
.location-grid p {
  font-size: 1.02rem;
  color: var(--ink-soft);
}
.text-link {
  color: var(--blue);
  font-weight: 750;
}
.map-frame {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #e7ecef;
  box-shadow: var(--shadow);
}
.map-frame iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

.contact {
  background: linear-gradient(180deg, #f4f9fc 0%, #edf6fb 100%);
  border-top: 1px solid var(--line);
}
.contact .section-label { color: var(--blue); }
.contact p { color: var(--ink-soft); }
.contact-card {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 10px 30px;
  box-shadow: var(--shadow);
}
.contact-card a,
.contact-card div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-card div:last-child { border-bottom: 0; }
.contact-entry {
  display: flex !important;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue-dark);
  border: 1px solid #d7e6f1;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-info { display: block; }
.contact-card small {
  display: block;
  color: var(--ink-soft);
  margin-bottom: 3px;
}
.contact-card strong { font-size: 1.06rem; }

footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer-inner img { width: 180px; }
.footer-inner p { margin-left: auto; }
.footer-inner a:hover { color: var(--blue); }

@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 108px;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    flex-direction: column;
    box-shadow: 0 18px 48px rgba(0,0,0,0.08);
  }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .language-switcher { order: 3; }
  .hero-grid,
  .split,
  .location-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero { padding-top: 64px; }
  .brand img { width: 200px; }
}

@media (max-width: 650px) {
  .container { width: min(100% - 24px, var(--max)); }
  .topbar-inner {
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }
  .topbar-link { font-size: 0.82rem; }
  .nav-wrap {
    gap: 10px;
    min-height: 72px;
    flex-wrap: wrap;
    padding: 12px 0;
  }
  .brand img { width: 168px; }
  .language-switcher {
    width: 100%;
    justify-content: flex-start;
    margin: 0;
  }
  .hero {
    padding: 54px 0;
    background: linear-gradient(180deg, #fbfdff 0%, #f3f8fc 100%);
  }
  .hero h1 { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { margin-left: 0; }
  .map-frame,
  .map-frame iframe {
    min-height: 340px;
    height: 340px;
  }
}

@media (min-width: 1100px) {
  .hero h1,
  .section h2 {
    text-wrap: balance;
  }

  .section h2 {
    max-width: 100%;
  }
}


/* Embedded PDF viewer */
body.pdf-open { overflow: hidden; }
.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.pdf-modal.open { display: flex; }
.pdf-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 48, 64, 0.62);
  backdrop-filter: blur(5px);
}
.pdf-modal-dialog {
  position: relative;
  width: min(1180px, 96vw);
  height: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 28px 90px rgba(15, 41, 61, 0.28);
}
.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfd;
}
.pdf-modal-header small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.76rem;
}
.pdf-modal-header strong {
  display: block;
  font-size: 1rem;
}
.pdf-modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pdf-modal-actions a {
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 700;
}
.pdf-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}
.pdf-modal-body { flex: 1; min-height: 0; background: #e9eef2; }
.pdf-modal-body iframe { width: 100%; height: 100%; border: 0; background: #fff; }
.document-list .pdf-preview b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue-soft);
  font-size: 0.8rem;
}
@media (max-width: 650px) {
  .pdf-modal { padding: 8px; }
  .pdf-modal-dialog { width: 100%; height: 94vh; border-radius: 14px; }
  .pdf-modal-header { align-items: flex-start; }
  .pdf-modal-actions a { display: none; }
}

/* PDF.js canvas viewer */
.pdf-modal-body {
  overflow: auto;
  padding: 18px;
  background: #e8eef3;
  text-align: center;
}
.pdf-page {
  display: flex;
  justify-content: center;
  margin: 0 auto 18px;
}
.pdf-page:last-child { margin-bottom: 0; }
.pdf-page canvas {
  display: block;
  max-width: 100%;
  height: auto !important;
  background: #fff;
  box-shadow: 0 4px 18px rgba(18, 43, 61, 0.16);
}
.pdf-loading,
.pdf-error {
  width: min(640px, 100%);
  margin: 50px auto;
  padding: 22px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink-soft);
  box-shadow: var(--shadow);
}
.pdf-error { color: #8a2d2d; }
.pdf-error code { font-size: 0.9em; }


/* Professional editorial photography */
.hero-card {
  padding: 0;
  overflow: hidden;
}
.hero-photo {
  display: block;
  width: 100%;
  height: 185px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(0.96);
}
.hero-card-content {
  padding: 26px 30px 28px;
}
.about-visual {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  height: 230px;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--soft-2);
}
.about-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(0.72) contrast(0.95);
}
.photo-credit {
  color: var(--ink-soft);
  opacity: 0.72;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .hero-photo { height: 220px; }
  .about-visual { height: 220px; }
}
@media (max-width: 650px) {
  .hero-photo { height: 180px; }
  .hero-card-content { padding: 22px; }
  .about-visual { height: 180px; }
  .photo-credit { width: 100%; }
}


/* Services editorial image */
.services-heading {
  display: block;
}
.services-heading h2 { margin-bottom: 0; }
.services-visual {
  width: 100%;
  height: 230px;
  margin: 12px 0 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--soft-2);
  box-shadow: var(--shadow);
}
.services-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.72) contrast(.96);
}
@media (max-width: 980px) {
  .services-visual { height: 220px; }
}
@media (max-width: 650px) {
  .services-visual { height: 180px; }
}

@media (max-width: 650px) {
  .contact-entry { gap: 12px; }
  .contact-icon { flex-basis: 42px; width: 42px; height: 42px; border-radius: 12px; }
}
