:root {
  --bg: #f7f7fb;
  --surface: #ffffff;
  --text: #14213d;
  --muted: #5c6474;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --border: #e5e7eb;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a,
.dropdown-toggle {
  color: var(--muted);
  font-weight: 500;
}

.nav-links a:hover,
.dropdown:hover .dropdown-toggle {
  color: var(--primary);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  display: none;
  flex-direction: column;
  min-width: 160px;
  padding: 0.5rem 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(20, 33, 61, 0.08);
  z-index: 20;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown-menu.is-open {
  display: flex;
}

.dropdown-menu a {
  padding: 0.6rem 0.9rem;
  color: var(--text);
}

.dropdown-menu a:hover {
  background: #f3f4f6;
  color: var(--primary);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 2rem;
  align-items: center;
  padding: 4rem 0 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 1rem;
}

.hero-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.button:hover {
  background: var(--primary-dark);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.button-small {
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
}

.hero-card,
.card,
.about-box,
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 12px 40px rgba(20, 33, 61, 0.06);
}

.hero-card ul {
  padding-left: 1.1rem;
  color: var(--muted);
}

.section {
  padding: 2.5rem 0;
}

.section-heading {
  margin-bottom: 1.25rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-cards {
  grid-template-columns: repeat(2, minmax(280px, 430px));
  justify-content: center;
}

.contact-cards .card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 220px;
  overflow-wrap: normal;
  word-break: normal;
}

.card {
  text-align: center;
}

.hours-card {
  width: min(100%, 360px);
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
}

.hours-card p {
  margin: 0.3rem 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.service-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 0.85rem;
  border: 1px solid var(--border);
  background: #f3f4f6;
}

.about-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1100px;
}

.card h3 {
  margin-top: 0;
}

.card p,
.card .button-secondary {
  margin-left: auto;
  margin-right: auto;
  overflow-wrap: normal;
  word-break: normal;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 1.25rem;
  align-items: start;
}

.about-section > div:first-child {
  max-width: 780px;
}

.about-cards .card p {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  text-wrap: pretty;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  max-width: 640px;
}

.contact-form-full {
  margin: 2rem auto 0;
  max-width: 700px;
}

.contact-form input,
.contact-form textarea,
.contact-form .upload-label,
.contact-form .upload-label {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 0.85rem 0.95rem;
  font: inherit;
  background: var(--surface);
}

.contact-form .upload-label {
  display: block;
  color: var(--muted);
}

.contact-form .upload-label input {
  margin-top: 0.5rem;
  border: 0;
  padding: 0;
  background: transparent;
}

.site-footer {
  padding: 2rem 1.5rem 3rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 760px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links,
  .button-small {
    display: none;
  }

  .hero,
  .about-section,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 0.5rem;
  }
}
