:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --link-color: #0a58ca;
  --nav-bg: #f8f9fa;
  --border-color: #dee2e6;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-size: 18px;
}

header {
  background-color: var(--nav-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 1000px) {
  header {
    padding: 1.5rem calc(50vw - 420px);
  }
}

header .logo {
  font-size: 1.7rem;
  font-weight: 700;
  color: #212529;
  text-decoration: none;
  letter-spacing: -0.5px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #495057;
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

nav a:hover, nav a.active {
  color: var(--link-color);
}

main {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
}

h1 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #212529;
  font-weight: 700;
}

h2 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #212529;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

.intro-section {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.intro-section h1 {
  margin-bottom: 1rem;
}

.intro-section p.lead {
  font-size: 1.25rem;
  color: #495057;
  max-width: 700px;
  margin: 0 auto 2rem auto;
}

.hero-image {
  text-align: center;
  max-width: 100%;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--nav-bg);
}

.service-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--nav-bg);
  color: #6c757d;
  font-size: 0.95rem;
}

footer .footer-links {
  margin-bottom: 1rem;
}

footer a {
  color: #495057;
  text-decoration: none;
  margin: 0 0.8rem;
}

footer a:hover {
  color: var(--link-color);
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 600px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form label {
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-form input, .contact-form textarea {
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--link-color);
  box-shadow: 0 0 0 2px rgba(10, 88, 202, 0.2);
}

.contact-form button {
  background-color: #212529;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.2s;
  align-self: flex-start;
}

.contact-form button:hover {
  background-color: #495057;
}

.legal-content {
  color: #495057;
}

.legal-content h2 {
  margin-top: 2.5rem;
}

.legal-content ul {
  padding-left: 1.5rem;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}
