:root {
  --max: 1100px;
  --pad: 20px;
  --font-stack: -apple-system, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  line-height: 1.6;
  color: #333;
  font-family: var(--font-stack, -apple-system, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif);
}

a {
  color: inherit;
}

.site-header {
  background: #0f3d57;
  color: #fff;
  padding: 15px var(--pad);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img {
  height: 50px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}

.nav a:hover,
.nav a:focus {
  opacity: 0.8;
}

.hero {
  background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1350&q=80') no-repeat center center / cover;
  color: #fff;
  text-align: center;
  padding: 120px var(--pad);
}

.hero__content {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0;
}

.hero p {
  font-size: 1.15rem;
  margin: 0;
}

.btn {
  background: #28a745;
  color: #fff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  display: inline-block;
  transition: background 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: #218838;
}

.section {
  padding: 60px var(--pad);
}

.section__inner {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}

.section h2 {
  text-align: center;
  margin: 0 0 24px;
  font-size: 2rem;
}

.section p {
  margin: 0;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  text-align: left;
}

.service {
  border: 1px solid #ddd;
  padding: 24px;
  border-radius: 10px;
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.section--contact {
  background: #f0f0f0;
  text-align: center;
}

.section--contact a {
  color: #0f3d57;
  text-decoration: none;
  font-weight: 600;
}

.section--contact a:hover,
.section--contact a:focus {
  text-decoration: underline;
}

/* Contact Form Styles */
.contact-form {
  max-width: 600px;
  margin: 30px auto;
  text-align: left;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  margin-bottom: 16px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0f3d57;
  box-shadow: 0 0 0 3px rgba(15, 61, 87, 0.1);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background: #28a745;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.contact-form button:hover,
.contact-form button:focus {
  background: #218838;
}

.contact-form button:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

.site-footer {
  background: #0f3d57;
  color: #fff;
  text-align: center;
  padding: 20px var(--pad);
  margin-top: 0;
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav {
    justify-content: flex-start;
    gap: 12px;
  }

  .hero {
    padding: 80px var(--pad);
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
