@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/Inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Inter-700.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/Inter-700.woff2') format('woff2');
}

:root {
  --primary: #004aad;
  --accent: #ffcc00;
  --bg: #f5f7fa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: #333;
  line-height: 1.6;
}

header {
  background: linear-gradient(135deg, var(--primary), #002f6c);
  color: white;
  padding: 3rem 1rem;
  text-align: center;
}

.logo-container {
  margin-bottom: 1.5rem;
}

.logo {
  max-width: 400px;
  height: auto;
  max-height: 240px;
  background: white;
  padding: 1rem;
  border-radius: 12px;
}

header h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
}

header p {
  margin-top: 0.5rem;
  opacity: 0.9;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 2rem 1rem;
}

.section {
  margin-bottom: 3rem;
}

h2 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--primary);
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card svg {
  width: 80px;
  height: 80px;
  fill: var(--primary);
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-icon {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.2em;
  margin-right: 0.4rem;
  fill: var(--primary);
}

.contact-box {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.hours {
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 8px;
}

.info-box {
  background: #fff3cd;
  border-left: 4px solid var(--accent);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  font-weight: 600;
}

.map-container {
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.partner-logo {
  height: 80px;
  object-fit: contain;
  max-width: 100%;
  transition: transform 0.2s ease;
}

.partner-logo:hover {
  transform: scale(1.05);
}

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 700px) {
  header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 1rem 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    transition: padding 0.22s ease;
  }

  .logo-container {
    margin-bottom: 0.5rem;
    max-height: 220px;
    opacity: 1;
    overflow: hidden;
    transition: max-height 0.22s ease, opacity 0.2s ease, margin-bottom 0.22s ease;
  }

  .logo {
    max-width: 175px;
    padding: 0.45rem;
    border-radius: 10px;
  }

  header h1 {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  header p {
    margin-top: 0.25rem;
    font-size: 0.92rem;
    opacity: 0.95;
  }

  body.mobile-scrolled header {
    padding: 0.5rem 0.75rem 0.55rem;
  }

  body.mobile-scrolled .logo-container {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
  }

  body.mobile-scrolled header h1 {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  body.mobile-scrolled header p {
    margin-top: 0.1rem;
    font-size: 0.78rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    padding-top: 1.2rem;
  }

  .map-container iframe {
    height: 300px;
  }

  .partners {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
  }

  header h1 {
    font-size: 1.1rem;
  }

  header p {
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible,
  .card,
  .partner-logo {
    transition: none;
    transform: none;
    opacity: 1;
  }
}