/* Reset */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #186b73;
  --primary-light: #28a791;
  --accent-light: #87d6b7;

  --background: #fafafa;
  --text: #222222;
}

/* Base Styles */

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #222222;
  background-color: #fafafa;
}

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

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

ul {
  list-style-position: inside;
}

/* Layout */

.container {
  width: min(92%, 1200px);
  margin: 0 auto;
}

/* Header */

.site-header {
  background-color: var(--primary);
  color: white;
  padding: 1rem 0;
}

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

.site-logo {
  font-weight: 700;
  font-size: 1.2rem;
}

nav {
  display: flex;
  gap: 1rem;
}

/* Hero */

.hero {
  padding: 5rem 0;
  background-color: #f8fafc;
}

.hero-content {
  display: grid;
  gap: 2rem;
}

.hero-text p:first-child {
  color: #f4b400;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hero-text p {
  margin-bottom: 1.5rem;
}

.hero-image {
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Sections */

.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #102a43;
  margin-bottom: 2rem;
}

#services article {
  background-color: white;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--primary-light);
}

#services h3 {
  color: #102a43;
  margin-bottom: 0.5rem;
}

#about {
  background-color: var(--primary);
  color: white;
}

#about h2 {
  color: white;
}

#about ul,
#coverage ul {
  display: grid;
  gap: 0.75rem;
}

#contact {
  background-color: #f8fafc;
}

#contact p,
#contact address {
  margin-bottom: 1rem;
}

.hero-image {
  margin-top: 1.5rem;
}

/* Desktop Layout */

@media (min-width: 768px) {
  .header-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-content {
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
  }

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

  #services .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  #services h2 {
    grid-column: 1 / -1;
  }

  #services article {
    margin-bottom: 0;
  }

  #about ul,
  #coverage ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-image {
    margin-top: 0;
  }
}

/* Polish */

html {
  scroll-behavior: smooth;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header nav a,
.site-header .header-content > a:last-child {
  opacity: 0.9;
}

.site-header nav a:hover,
.site-header .header-content > a:last-child:hover {
  opacity: 1;
  color: #f4b400;
}

#services article {
  box-shadow: 0 10px 25px rgba(15, 42, 67, 0.08);
}

#contact a {
  color: #102a43;
  font-weight: 700;
}

#contact a:hover {
  text-decoration: underline;
}

.header-phone {
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.trust-item {
  padding: 0.4rem 0.8rem;
  border: 1px solid #d9e2ec;
  border-radius: 999px;
  background-color: white;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid var(--accent-light);
  color: var(--primary);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s ease;
}

.button-primary {
  background-color: var(--primary);
  color: white;
}

.button-primary:hover {
  background-color: #0b2035;
}

.button-secondary {
  background-color: white;
  color: var(--primary);
  border: 1px solid #d9e2ec;
}

.button-secondary:hover {
  background-color: #f8fafc;
}

.contact-card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-phone {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin: 0.5rem 0 1rem;
}

.contact-highlight {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-address {
  padding-top: 1rem;
  border-top: 1px solid #d9e2ec;
}

.contact-address h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .contact-card {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 3rem;
    align-items: start;
  }

  .contact-address {
    padding-top: 0;
    padding-left: 2rem;
    border-top: 0;
    border-left: 1px solid #d9e2ec;
  }
}

.contact-card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-details > p:first-child {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-tel-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-phone {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.contact-trust {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact-trust-item {
  background-color: #f0fbf7;
  border: 1px solid var(--accent-light);
  color: var(--primary);
  padding: 0.9rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}

.contact-email-row a {
  color: var(--primary);
  font-weight: 800;
}

.contact-address {
  padding-top: 2rem;
  border-top: 1px solid #d9e2ec;
}

.contact-address h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.contact-address address {
  font-style: normal;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .contact-card {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: start;
    padding: 3rem;
  }

  .contact-address {
    padding-top: 0;
    padding-left: 3rem;
    border-top: 0;
    border-left: 1px solid var(--accent-light);
  }

  .contact-trust {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.contact-details > p:first-child {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-tel-row {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-phone {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.contact-trust {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.contact-trust-item {
  background-color: #f0fbf7;
  border: 1px solid var(--accent-light);
  color: var(--primary);
  padding: 0.9rem 1rem;
  border-radius: 8px;
  font-weight: 700;
}

.contact-email-row a {
  color: var(--primary);
  font-weight: 800;
}

.contact-address {
  padding-top: 2rem;
  border-top: 1px solid #d9e2ec;
}

.contact-address h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.contact-address address {
  font-style: normal;
  line-height: 1.8;
}

@media (min-width: 768px) {
  .contact-card {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: start;
    padding: 3rem;
  }

  .contact-address {
    padding-top: 0;
    padding-left: 3rem;
    border-top: 0;
    border-left: 1px solid var(--accent-light);
  }

  .contact-trust {
    grid-template-columns: repeat(3, 1fr);
  }
}

.site-footer {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 1.5rem 0;
}

.site-footer p {
  margin: 0;
}
