:root {
  --bg: #f3f3f3;
  --surface: #ffffff;
  --surface-dark: #111111;
  --text: #111111;
  --muted: #4a4a4a;
  --accent: #111111;
  --accent-dark: #000000;
  --border: #d6d6d6;
  --border-strong: #242424;
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  line-height: 1.6;
}

a {
  color: inherit;
}

.hero {
  padding: 6rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
  background: url('res/title_background.jpeg') center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  pointer-events: none;
}

.hero__content,
.section,
.footer {
  width: min(100%, 64rem);
  margin: 0 auto;
}

.hero__content {
  position: relative;
  z-index: 1;
  background: rgba(17, 17, 17, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
  padding: 3rem;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bdbdbd;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.3rem, 5.4vw, 4.25rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.hero__copy,
.section__copy,
.service-card p,
.rate,
.form-note,
.footer p {
  color: var(--muted);
}

.hero__content .hero__copy,
.hero__content .eyebrow {
  color: #d8d8d8;
}

.hero__copy {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  font-size: 1.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  padding: 0.95rem 1.4rem;
  border: 1px solid #ffffff;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover,
.button:focus-visible {
  background: #111111;
  color: #ffffff;
  transform: translateY(-1px);
}

.section {
  padding: 1rem 1.5rem 3.5rem;
}

.section__heading {
  margin-bottom: 1rem;
}

.section--card {
  background:
    linear-gradient(180deg, #101010 0%, #181818 100%);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  color: #ffffff;
}

.section--card .eyebrow,
.section--card .section__copy,
.section--card .rate {
  color: #cfcfcf;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-card {
  padding: 1.35rem;
  background: #ffffff;
  border: 1px solid #2b2b2b;
  border-radius: 1.15rem;
  box-shadow: var(--shadow);
  color: #111111;
  position: relative;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.5rem;
  border-radius: 1.15rem 0 0 1.15rem;
  background: #111111;
}

.service-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.service-area {
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
  color: #cfcfcf;
}

.rate {
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.profile-photo {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  display: block;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.action-photo {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  display: block;
}



.contact-options {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-options li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: baseline;
  color: var(--muted);
}

.contact-options strong {
  color: var(--text);
  min-width: 7rem;
}

.contact-options a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-options a:hover {
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid__full {
  grid-column: 1 / -1;
}

label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.04);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(17, 17, 17, 0.14);
  border-color: var(--accent-dark);
}

.form-note {
  min-height: 1.5rem;
  margin: 0.9rem 0 0;
}

.footer {
  padding: 1rem 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

@media (max-width: 760px) {
  .hero {
    padding-top: 4rem;
  }

  .hero__content {
    padding: 2rem;
  }

  .services,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    width: 100%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .action-photo {
    width: 100%;
  }
}
