/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  color: #111;
  background: #fff;
}

/* GLOBAL */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

p {
  color: #555;
}

section {
  padding: 4rem 0;
}

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

.card {
  padding: 1.5rem;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fff;
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  background: #111;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 1rem;
  transition: 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 1000;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav a {
  text-decoration: none;
  color: #111;
  margin-left: 1.25rem;
  font-size: 0.95rem;
}

/* HERO */
.hero {
  height: 90vh;
  display: flex;
  align-items: center;
  background: url('images/hero.jpg') center/cover no-repeat;
  color: #fff;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  max-width: 600px;
}

.hero h1,
.hero p {
  color: #fff;
}

/* SERVICES */
.services .grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ABOUT */
.split {
  display: grid;
  gap: 2rem;
}

.split img {
  width: 100%;
  border-radius: 10px;
}

/* REVIEWS */
.reviews {
  background: #f9f9f9;
}

/* CTA */
.cta {
  text-align: center;
  background: #111;
  color: #fff;
}

.cta h2 {
  color: #fff;
}

/* CONTACT */
.contact {
  text-align: center;
}

/* FOOTER */
.footer {
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #eee;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  h1 {
    font-size: 3rem;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}