@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

:root {
  --background: #ffffff;
  --foreground: #0f1c2e;
  --secondary: #f0ede8;
  --border: rgba(15, 28, 46, 0.12);
  --accent: #1a66de;
  --accent-foreground: #ffffff;
  --muted-foreground: #6b6558;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-heading: 'Outfit', sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.5;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.accent-text {
  color: var(--accent);
}

[hidden] {
  display: none !important;
}

.icon {
  width: 22px;
  height: 22px;
}

.icon--sm {
  width: 16px;
  height: 16px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn--accent {
  background: var(--accent);
  color: #ffffff;
}

.btn--accent:hover {
  opacity: 0.9;
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
}

.btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--inline {
  width: fit-content;
}

.btn--full {
  width: 100%;
}

/* Header / Nav */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--foreground);
}

.logo__icon {
  width: 34px;
  height: 26px;
  flex-shrink: 0;
}

.nav--desktop {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav__link {
  transition: color 0.15s ease;
}

.nav__link:hover {
  color: var(--accent);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0.5rem;
  margin-right: -0.5rem;
  cursor: pointer;
  color: var(--foreground);
}

.mobile-menu {
  border-top: 1px solid var(--border);
  background: var(--background);
}

.nav--mobile {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 768px) {
  .nav--desktop {
    display: flex;
  }

  .menu-toggle,
  .mobile-menu {
    display: none;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f1c2e 0%, #1a3050 60%, #0f1c2e 100%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.hero__content {
  max-width: 42rem;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin: 0 0 1.5rem;
}

.hero__lead {
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .hero__inner {
    padding: 9rem 1.5rem;
  }

  .hero__title {
    font-size: 3.75rem;
  }

  .hero__lead {
    font-size: 1.25rem;
  }
}

/* Section shared */

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--foreground);
  margin: 0;
}

.section-title--light {
  color: #ffffff;
  margin-bottom: 1.5rem;
}

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

/* Services */

.services {
  padding: 5rem 0;
  background: var(--background);
}

.services__header {
  margin-bottom: 3.5rem;
}

.services__intro {
  margin-top: 1rem;
  color: var(--muted-foreground);
  max-width: 24rem;
  line-height: 1.7;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}

.service-card {
  background: var(--background);
  padding: 2rem;
  transition: background-color 0.3s ease;
}

.service-card:hover {
  background: var(--secondary);
}

.service-card__icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  background: #f0ede8;
  color: var(--accent);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 0.75rem;
}

.service-card__desc {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin: 0 0 1rem;
  font-size: 0.875rem;
}

.service-card__detail {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (min-width: 768px) {
  .services {
    padding: 7rem 0;
  }

  .services__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

  .services__intro {
    margin-top: 0;
  }

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

  .service-card {
    padding: 2.5rem;
  }
}

/* Why us */

.why {
  padding: 5rem 0;
  background: #0f1c2e;
}

.why__lead {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 2rem;
}

.why__list {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.why__item .icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

@media (min-width: 768px) {
  .why {
    padding: 7rem 0;
  }

  .why__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .why__list {
    margin-top: 0;
  }
}

/* Contact */

.contact {
  padding: 5rem 0;
  background: var(--secondary);
}

.contact__info {
  margin-bottom: 3rem;
}

.contact__lead {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin: 1.5rem 0 2.5rem;
  max-width: 28rem;
}

.contact__items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact__item-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #ffffff;
}

.contact__item-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

.contact__item-value {
  font-weight: 600;
  color: var(--foreground);
  transition: color 0.15s ease;
}

a.contact__item-value:hover {
  color: var(--accent);
}

.contact-form {
  background: var(--background);
  border-radius: 2px;
  padding: 2rem;
}

.contact-form__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 0 0 1.5rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.375rem;
  color: var(--muted-foreground);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  border-radius: 2px;
  color: var(--foreground);
  transition: box-shadow 0.15s ease;
}

.field textarea {
  resize: none;
}

.field select {
  appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(26, 102, 222, 0.3);
}

@media (min-width: 768px) {
  .contact {
    padding: 7rem 0;
  }

  .contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }

  .contact__info {
    margin-bottom: 0;
  }

  .contact-form {
    padding: 2.5rem;
  }
}

/* Footer */

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: #0f1c2e;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo--footer {
  color: #ffffff;
}

.footer__copy {
  font-size: 0.75rem;
  text-align: center;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
  }

  .footer__copy {
    text-align: right;
  }
}
