* {
  box-sizing: border-box;
}

:root {
  --background: #fafafa;
  --foreground: #26262b;
  --card: #ffffff;
  --card-foreground: #26262b;
  --muted: #ececee;
  --muted-foreground: #6d6d75;
  --border: #dddddf;
  --primary: #3a4a8f;
  --primary-foreground: #fafafa;
  --font-sans:
    "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial,
    sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header .container {
  height: 3.5rem;
  display: flex;
  align-items: center;
}

.brand {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-decoration: none;
  color: var(--foreground);
}

.site-main {
  flex: 1;
}

/* Hero */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #17171a;
}

.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 128 / 50;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(23, 23, 26, 0.8) 0%,
    rgba(23, 23, 26, 0.3) 40%,
    rgba(23, 23, 26, 0.4) 100%
  );
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-caption .container {
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}

.hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #d4d4d4;
}

.hero-title {
  margin: 0;
  max-width: 40rem;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section-heading h2 {
  margin: 0 0 0.75rem;
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.section-heading p {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--muted-foreground);
}

/* Services grid */
.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(30, 30, 35, 0.15);
}

.service-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--muted);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-body {
  padding: 1.5rem;
}

.service-title {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.service-text {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.service-text p {
  margin: 0 0 1rem;
}

.service-block-title {
  margin: 1rem 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.service-text ol,
.service-text ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.service-text li {
  margin-bottom: 0.5rem;
}

/* Contacts */
.contacts-section {
  margin-top: 3rem;
}

.contacts-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .contacts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  text-align: center;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -8px rgba(30, 30, 35, 0.15);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  background-color: rgba(58, 74, 143, 0.1);
  color: var(--primary);
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-label {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

.contact-value {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--foreground);
}

.contact-value a {
  text-decoration: none;
  color: inherit;
}

.contact-value a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
}

.site-footer .container {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
