:root {
  --navy: #1a2e4a;
  --navy-dark: #122033;
  --green: #2ea01f;
  --green-soft: #e8f5e6;
  --text: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 10px 40px rgba(26, 46, 74, 0.08);
  --radius: 14px;
  --max: 1120px;
  --header-offset: 4.25rem;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--green); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 0.75rem 0;
}
.site-nav {
  margin-right: auto;
}

.hero-brand {
  margin-bottom: 1.25rem;
}
.hero-brand + .tagline {
  display: none;
}
.hero-brand img {
  width: min(100%, 440px);
  height: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.lang-switch {
  font-size: 0.9rem;
  color: var(--muted);
}
.lang-switch a.active { color: var(--navy); font-weight: 700; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.2s ease;
}
.btn-primary {
  background: var(--navy);
  color: #fff;
}
.btn-primary:hover {
  background: var(--green);
  color: #fff;
}
.btn-outline {
  border-color: var(--border);
  color: var(--navy);
  background: #fff;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-size: 1.1rem;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.site-nav a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
  background: var(--green-soft);
}

.hero {
  padding: 4.75rem 0 2.5rem;
  background:
    radial-gradient(circle at top right, rgba(46,160,31,0.08), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--navy);
  margin: 0 0 1rem;
}
.hero .tagline {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}
.hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38rem;
}
.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.hero-card h3 {
  margin: 0 0 0.75rem;
  color: var(--navy);
}
.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-list li:last-child { border-bottom: 0; }
.contact-icon {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #f0f9ee 0%, var(--green-soft) 100%);
  color: var(--green);
  font-size: 0.92rem;
  border: 1px solid rgba(46, 160, 31, 0.12);
}
.contact-text {
  flex: 1;
  padding-top: 0.2rem;
  color: var(--text);
  line-height: 1.5;
}
.contact-text a {
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 0.5rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46,160,31,0.35);
}
.service-card .icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #f0f9ee 0%, var(--green-soft) 100%);
  color: var(--green);
  font-size: 1.1rem;
  border: 1px solid rgba(46, 160, 31, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}
.service-card:hover .icon {
  transform: scale(1.05);
  background: linear-gradient(145deg, var(--green-soft) 0%, #dff3db 100%);
}
.service-card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--navy);
}
.service-card img { width: 28px; height: 28px; }

.section {
  padding: 3.25rem 0;
}
.section.alt { background: var(--bg-alt); }
.section-head {
  margin-bottom: 1.5rem;
}
.section-head h2 {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.section-head .accent {
  width: 72px;
  height: 4px;
  background: linear-gradient(90deg, var(--green), rgba(46,160,31,0.2));
  border-radius: 999px;
}
.prose { font-size: 1.05rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: 0.45rem 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.credentials-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  color: var(--navy);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 calc(33.333% - 0.5rem);
  max-width: calc(33.333% - 0.5rem);
  min-height: 84px;
  padding: 0.65rem 0.5rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.badge-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(26, 46, 74, 0.06);
}
.badge-item img {
  display: block;
  max-height: 52px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font: inherit;
  margin-bottom: 0.85rem;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
}
.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.site-footer {
  background: var(--navy-dark);
  color: #cbd5e1;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 0.75rem;
    padding: 0.65rem 0;
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    flex-shrink: 0;
    order: 1;
    line-height: 1;
  }
  .header-actions {
    order: 2;
    margin-left: auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.55rem;
  }
  .lang-switch {
    font-size: 0.82rem;
    line-height: 1;
    white-space: nowrap;
  }
  .header-actions .btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.84rem;
    white-space: nowrap;
  }
  .site-nav {
    display: none;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    margin-right: 0;
    border-top: 1px solid var(--border);
    padding-top: 0.35rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.15rem 0 0.65rem;
  }
  .site-nav li { width: 100%; }
  .site-nav a {
    width: 100%;
    border-radius: 8px;
    padding: 0.72rem 0;
    text-align: left;
  }
  .hero-grid,
  .two-col,
  .contact-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }
  .badge-item {
    flex: 0 0 calc(50% - 0.375rem);
    max-width: calc(50% - 0.375rem);
  }
}
