@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f9fafb;
  --border: #e5e7eb;
  --text: #111827;
  --text-muted: #6b7280;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --radius: 8px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: 768px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: var(--surface);
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
}

.skip-link:focus {
  left: 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.brand__text {
  display: flex;
  flex-direction: column;
}

.brand__text strong {
  font-size: 1.05rem;
}

.brand__text small {
  color: var(--muted);
  font-size: 0.85rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  padding: 8px 16px;
  border-radius: 6px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  transition: all 0.2s ease;
  display: block;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface-alt);
}

.site-nav a.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.1);
}

/* Dropdown Submenu */
.site-nav .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  margin-top: 4px;
  z-index: 1000;
}

.site-nav .has-children:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav .submenu li {
  display: block;
}

.site-nav .submenu a {
  padding: 10px 16px;
  border-radius: 0;
  font-size: 14px;
}

.site-nav .submenu a:hover {
  background: var(--surface-alt);
  border-radius: 0;
}

.site-nav .submenu li:first-child a {
  border-radius: 8px 8px 0 0;
}

.site-nav .submenu li:last-child a {
  border-radius: 0 0 8px 8px;
}

.nav-search input {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: inherit;
  background: var(--surface);
}

/* Hero & Sections */
.hero {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f9fafb 0%, #ffffff 100%);
}

.section {
  padding: 64px 0;
}


.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.eyebrow {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text);
}

.lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  transition: all 0.2s ease;
  cursor: pointer;
}

.button:hover {
  background: var(--surface-alt);
  border-color: var(--text-muted);
}

.button-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.button-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-lg);
}

.panel {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  padding: 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: all 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card h3,
.card h2,
.card p {
  padding: 0 20px;
}

.card h3,
.card h2 {
  margin-top: 20px;
  margin-bottom: 12px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.card h3 a,
.card h2 a {
  color: var(--text);
  transition: color 0.2s ease;
}

.card h3 a:hover,
.card h2 a:hover {
  color: var(--primary);
}

.card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.6;
}


.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.content-body {
  font-size: 1.04rem;
  line-height: 1.8;
  color: #1d2939;
}

/* Contact Page Styles */
.contact-info {
  background: var(--surface-alt);
  padding: 32px;
  border-radius: 12px;
  margin: 32px 0;
}

.contact-info h3 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
  color: var(--text);
}

.contact-info h3:first-child {
  margin-top: 0;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  padding: 8px 0;
  color: var(--text-muted);
}

.contact-form {
  background: var(--surface);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 32px 0;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  transition: all 0.2s ease;
  background: var(--surface);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button[type="submit"] {
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-form button[type="submit"]:hover {
  background: #5568d3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.site-footer {
  margin-top: 80px;
  padding: 64px 0 32px;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-about h3 {
  color: var(--text);
  margin-bottom: 12px;
}

.footer-links h3 {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a:hover,
.footer-social a:hover {
  color: var(--primary);
  background: rgba(102, 126, 234, 0.1);
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom a:hover {
  color: var(--primary);
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-grid a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    width: 100%;
  }

  .nav-search {
    width: 100%;
  }

  .nav-search input {
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 48px 0;
  }

  .section {
    padding: 40px 0;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  h1 {
    font-size: 2rem;
  }
}
