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

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

:root {
  --text: #2A2A2A;
  --text-light: #5C5C5C;
  --bg: #FFFFFF;
  --bg-alt: #F4F6F7;
  --accent: #6E8FA0;
  --accent-hover: #5A7A8C;
  --border: #D8DDE0;
  --footer-bg: #1E2528;
  --footer-text: #C8CDD0;
  --max-width: 960px;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-hover);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---- NAV ---- */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.4rem 1.5rem;
}

.site-nav .brand {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.site-nav .brand:hover {
  text-decoration: none;
}

.nav-logo {
  height: 36px;
  width: auto;
  display: block;
}

.site-nav nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-nav nav a {
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 400;
}

.site-nav nav a:hover,
.site-nav nav a.active {
  color: var(--text);
  text-decoration: none;
}

.nav-border {
  border-bottom: 1px solid var(--border);
}

/* mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 640px) {
  .nav-toggle {
    display: block;
  }

  .site-nav nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    z-index: 100;
  }

  .site-nav nav.open {
    display: flex;
  }

  .site-nav {
    position: relative;
  }
}

/* ---- LAYOUT ---- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4rem 0;
}

section.alt {
  background: var(--bg-alt);
}

/* ---- TYPOGRAPHY ---- */

h1 {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

p {
  max-width: 620px;
}

p + p {
  margin-top: 1rem;
}

/* ---- HERO ---- */

.hero {
  padding: 6rem 0 5rem;
  position: relative;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 37, 40, 0.75);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1.25rem;
}

.hero .tagline {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.hero .cta-link {
  color: rgba(255, 255, 255, 0.9);
}

.hero .cta-link:hover {
  color: #fff;
}

/* ---- SERVICES GRID ---- */

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  margin-top: 2rem;
}

.services-list .service h3 {
  margin-bottom: 0.35rem;
}

.services-list .service p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .services-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ---- CTA ---- */

.cta-link {
  display: inline-block;
  margin-top: 2rem;
  color: var(--accent-hover);
  font-weight: 500;
  font-size: 0.95rem;
}

.cta-link:hover {
  text-decoration: underline;
}

/* ---- PRICING NOTE ---- */

.pricing-note {
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.pricing-note p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---- ABOUT ---- */

.about-img {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 6px;
  margin: 1rem 0 1.5rem;
}

.values {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
}

.values .value p {
  color: var(--text-light);
  font-size: 0.92rem;
}

@media (max-width: 640px) {
  .values {
    grid-template-columns: 1fr;
  }
}

/* ---- CONTACT FORM ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.contact-info a {
  font-weight: 500;
}

form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--text);
}

form input,
form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  margin-bottom: 1rem;
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

form textarea {
  min-height: 120px;
  resize: vertical;
}

form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.65rem 1.6rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
}

form button:hover {
  background: var(--accent-hover);
}

@media (max-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- FOOTER ---- */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.5rem 0;
  margin-top: 2rem;
  font-size: 0.85rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer a {
  color: var(--footer-text);
}

.site-footer a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .site-footer .container {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  h1 {
    font-size: 1.8rem;
  }
}
