:root {
  --ink: #050505;
  --paper: #f4f5f1;
  --soft: #e8f0ed;
  --accent: #0b6b4b;
  --red: #b42318;
  --gold: #d7b56d;
  --line: #050505;
  --muted: #4d5551;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

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

.site {
  width: min(100%, 1180px);
  margin: 0 auto;
  border-left: 2px solid var(--line);
  border-right: 2px solid var(--line);
  min-height: 100vh;
  background: #fff;
}

.topbar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--line);
  background: #eef3ef;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.mark {
  width: 18px;
  height: 18px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  box-shadow: 10px 0 0 -3px var(--ink);
}

.nav {
  display: flex;
  gap: 14px;
}

.nav a {
  padding: 5px 8px;
  border: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  border-color: var(--ink);
  background: #fff;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-bottom: 2px solid var(--line);
}

.hero-copy {
  min-height: 500px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.headline {
  margin: 0;
  font-size: clamp(48px, 8vw, 116px);
  line-height: 0.82;
  font-weight: 950;
  text-transform: uppercase;
}

.hero .headline {
  width: min(100%, 760px);
  text-align: left;
}

.headline-line {
  display: block;
  width: 100%;
  white-space: nowrap;
}

.headline-line.portugal {
  font-size: 1em;
}

.headline-line.private {
  font-size: 1.16em;
}

.headline-line.investigator {
  font-size: 0.8em;
}

.headline-line.smaller {
  font-size: 0.88em;
  letter-spacing: 0;
}

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

.red {
  color: var(--red);
}

.lede {
  width: min(460px, 100%);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 10px 16px;
  border: 2px solid var(--ink);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.button.secondary {
  background: #fff;
  color: var(--ink);
}

.photo {
  min-height: 260px;
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.18);
}

.hero-photo {
  border-left: 2px solid var(--line);
  background-image: url("https://images.unsplash.com/photo-1513735492246-483525079686?auto=format&fit=crop&w=1400&q=80");
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  border-bottom: 2px solid var(--line);
}

.tile {
  min-height: 170px;
  padding: 16px;
  border-right: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
}

.tile.photo {
  min-height: 170px;
}

.tile:last-child {
  border-right: 0;
}

.tile h2,
.panel h2,
.reserve h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 0.9;
  font-weight: 950;
  text-transform: uppercase;
}

.tile p,
.panel p,
.small {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.blue {
  background: var(--soft);
}

.photo-one {
  background-image: url("https://images.unsplash.com/photo-1516738901171-8eb4fc13bd20?auto=format&fit=crop&w=900&q=80");
}

.photo-two {
  background-image: url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=900&q=80");
}

.photo-three {
  background-image: url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=900&q=80");
}

.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  padding: 24px;
  border-bottom: 2px solid var(--line);
  background: var(--accent);
  color: #fff;
  text-align: center;
}

.banner h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 72px);
  line-height: 0.9;
  text-transform: uppercase;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 2px solid var(--line);
}

.panel {
  min-height: 300px;
  padding: 18px;
  border-right: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.panel:last-child {
  border-right: 0;
}

.stack {
  display: grid;
  gap: 8px;
}

.list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.list li {
  border-top: 2px solid var(--line);
  padding-top: 8px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.list a {
  display: block;
}

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

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-nav a {
  border: 2px solid var(--line);
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-nav a:hover {
  background: var(--soft);
}

.faq-section {
  padding: 24px;
  border-bottom: 2px solid var(--line);
  background: #fff;
}

.faq-section h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 0.9;
  font-weight: 950;
  text-transform: uppercase;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 2px solid var(--line);
}

.faq-item {
  min-height: 170px;
  padding: 16px;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.faq-item:nth-child(2n) {
  border-right: 0;
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 950;
  text-transform: uppercase;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.link-section {
  padding: 24px;
  border-bottom: 2px solid var(--line);
  background: #fff;
}

.link-section h2 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 62px);
  line-height: 0.9;
  font-weight: 950;
  text-transform: uppercase;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--line);
}

.link-card {
  min-height: 132px;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  background: #fff;
}

.link-card:nth-child(3n) {
  border-right: 0;
}

.link-card:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.link-card a {
  display: flex;
  height: 100%;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
}

.link-card a:hover {
  background: var(--soft);
}

.link-card h3 {
  margin: 0;
  font-size: clamp(20px, 2.5vw, 31px);
  line-height: 0.94;
  font-weight: 950;
  text-transform: uppercase;
}

.link-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.process-grid,
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 2px solid var(--line);
  background: #fff;
}

.process-step,
.coverage-grid article {
  min-height: 220px;
  padding: 22px;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
}

.process-step:nth-child(3n),
.coverage-grid article:nth-child(3n) {
  border-right: 0;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 32px;
  margin-bottom: 18px;
  border: 2px solid var(--line);
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.process-step h2,
.coverage-grid h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 0.95;
  font-weight: 950;
  text-transform: uppercase;
}

.process-step p,
.coverage-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
}

.coverage-grid a {
  display: inline-flex;
  margin-top: 16px;
  border: 2px solid var(--line);
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.coverage-grid a:hover {
  background: var(--soft);
}

.reserve {
  padding: 24px;
  border-bottom: 2px solid var(--line);
  background: #fff;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--line);
  margin-top: 18px;
}

.plan {
  padding: 16px;
  min-height: 190px;
  border-right: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.plan:last-child {
  border-right: 0;
}

.price {
  font-size: 42px;
  font-weight: 950;
}

.intake {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  border-bottom: 2px solid var(--line);
}

.intake-copy,
.form-panel {
  padding: 22px;
}

.intake-copy {
  background: var(--ink);
  color: #fff;
  border-right: 2px solid var(--line);
}

.intake-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 0.9;
  font-weight: 950;
  text-transform: uppercase;
}

.intake-copy p {
  color: #d8ddd9;
}

.form-panel {
  background: #fff;
}

.inquiry-form {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: 700 15px Arial, Helvetica, sans-serif;
  padding: 12px;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.hidden-field {
  display: none;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.note {
  border: 2px solid var(--line);
  background: var(--soft);
  padding: 12px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.glossary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 2px solid var(--line);
}

.term {
  min-width: 0;
  min-height: 220px;
  padding: 18px;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.term:hover {
  background: var(--soft);
}

.term a {
  display: contents;
}

.term:nth-child(3n) {
  border-right: 0;
}

.term h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 0.92;
  font-weight: 950;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.term p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.answer {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-bottom: 2px solid var(--line);
}

.answer-question,
.answer-body {
  min-width: 0;
  padding: 22px;
}

.answer-question {
  background: var(--ink);
  color: #fff;
  border-right: 2px solid var(--line);
}

.answer-question h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.answer.service-answer {
  grid-template-columns: 0.9fr 1.1fr;
}

.service-answer .answer-question {
  background: var(--soft);
  color: var(--ink);
  display: flex;
  align-items: flex-start;
}

.service-answer .answer-question h1 {
  max-width: 100%;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.02;
  text-transform: none;
}

.service-answer .answer-question h1::before {
  content: "Service";
  display: block;
  width: fit-content;
  margin-bottom: 14px;
  border: 2px solid var(--line);
  background: #fff;
  padding: 7px 9px;
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.about-answer .answer-question {
  display: grid;
  gap: 18px;
  align-content: start;
}

.about-answer .answer-question h1::before {
  content: "About";
}

.about-portrait {
  margin: 0;
  border: 2px solid var(--line);
  background: #fff;
  overflow: hidden;
}

.about-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
}

.about-portrait figcaption {
  border-top: 2px solid var(--line);
  padding: 10px 12px;
  background: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
}

.service-answer .city-answer-media {
  position: relative;
  display: block;
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  background: #000;
}

.city-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  background: #000;
  overflow: hidden;
}

.city-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.city-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.72) 100%);
}

.service-answer .city-answer-media h1 {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.service-answer .city-answer-media h1::before {
  color: var(--ink);
  text-shadow: none;
}

.answer-body {
  display: grid;
  gap: 16px;
  align-content: start;
}

.answer-body p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.footer {
  display: grid;
  grid-template-columns: 1fr repeat(6, auto);
  gap: 16px;
  align-items: end;
  padding: 22px;
  background: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 950;
}

.footer span,
.footer a {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 780px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site {
    border: 0;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    height: auto;
    gap: 12px;
    padding: 12px;
  }

  .brand {
    min-height: 28px;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    min-width: 0;
  }

  .nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    min-height: 36px;
    padding: 8px 6px;
    border-color: var(--line);
    background: #fff;
    font-size: 11px;
    text-align: center;
    white-space: nowrap;
  }

  .nav a:last-child {
    grid-column: auto;
  }

  .hero,
  .grid,
  .panel-grid,
  .plans,
  .intake,
  .glossary,
  .answer,
  .faq-grid,
  .process-grid,
  .coverage-grid {
    grid-template-columns: 1fr;
  }

  .answer.service-answer {
    display: block;
    width: 100%;
  }

  .hero-photo,
  .tile,
  .panel,
  .plan,
  .process-step,
  .coverage-grid article,
  .intake-copy,
  .answer-question,
  .term,
  .term:nth-child(3n) {
    border-left: 0;
    border-right: 0;
    border-bottom: 2px solid var(--line);
  }

  .hero-copy {
    min-height: auto;
    padding: 18px;
    gap: 24px;
  }

  .headline {
    font-size: clamp(34px, 10vw, 40px);
    line-height: 0.86;
    overflow-wrap: normal;
  }

  .hero .headline {
    text-align: center;
  }

  .lede {
    width: 100%;
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.22;
  }

  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .button {
    width: 100%;
    min-height: 44px;
    padding: 12px 14px;
  }

  .photo {
    min-height: 230px;
  }

  .hero-photo {
    min-height: 260px;
    border-top: 2px solid var(--line);
  }

  .tile,
  .panel,
  .plan,
  .process-step,
  .coverage-grid article,
  .term {
    min-height: auto;
    padding: 18px;
  }

  .tile.photo,
  .panel.photo {
    min-height: 240px;
  }

  .tile h2,
  .panel h2,
  .reserve h1,
  .process-step h2,
  .coverage-grid h2,
  .term h2 {
    font-size: clamp(30px, 12vw, 44px);
  }

  .banner {
    min-height: 116px;
    padding: 20px 16px;
  }

  .banner h2 {
    font-size: clamp(28px, 11vw, 44px);
  }

  .reserve,
  .intake-copy,
  .form-panel,
  .answer-question,
  .answer-body {
    padding: 18px;
  }

  .service-answer .answer-question {
    display: block;
    background: #fff;
    color: var(--ink);
    overflow: hidden;
  }

  .about-answer .answer-question {
    display: grid;
    gap: 14px;
  }

  .service-answer .city-answer-media {
    display: block;
    min-height: 360px;
    padding: 0;
    background: #000;
  }

  .intake-copy h2,
  .answer-question h1 {
    font-size: clamp(32px, 12vw, 48px);
  }

  .service-answer .answer-question h1 {
    display: block;
    width: 100%;
    max-width: 100%;
    font-size: clamp(25px, 7vw, 32px);
    line-height: 1.02;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .service-answer .answer-question h1::before {
    margin-bottom: 12px;
    padding: 6px 8px;
  }

  .about-portrait {
    width: min(100%, 360px);
  }

  .service-answer .city-answer-media h1 {
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: #fff;
  }

  .answer-body {
    gap: 14px;
    overflow: hidden;
  }

  .answer-body p {
    font-size: 15px;
    line-height: 1.42;
    overflow-wrap: break-word;
  }

  .service-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 12px;
    text-align: center;
  }

  .field input,
  .field select,
  .field textarea {
    min-height: 46px;
    font-size: 16px;
  }

  .footer {
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
    gap: 12px;
    padding: 18px;
  }

  .footer a {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
  }

  .faq-section {
    padding: 18px;
  }

  .link-section {
    padding: 18px;
  }

  .faq-section h2 {
    font-size: clamp(34px, 13vw, 48px);
    margin-bottom: 14px;
  }

  .link-section h2 {
    font-size: clamp(32px, 12vw, 46px);
    margin-bottom: 14px;
  }

  .faq-grid,
  .link-grid {
    grid-template-columns: 1fr;
    border-width: 2px;
    width: 100%;
    max-width: 100%;
  }

  .faq-item,
  .faq-item:nth-child(2n),
  .link-card,
  .link-card:nth-child(3n),
  .link-card:nth-last-child(-n + 3) {
    min-height: auto;
    border-right: 0;
    border-bottom: 2px solid var(--line);
    min-width: 0;
  }

  .link-card:last-child {
    border-bottom: 0;
  }

  .faq-item {
    padding: 14px;
  }

  .link-card a {
    min-height: auto;
    padding: 14px;
  }

  .faq-item h3 {
    font-size: 16px;
    line-height: 1.12;
    overflow-wrap: break-word;
  }

  .faq-item p {
    font-size: 14px;
    line-height: 1.42;
  }

  .link-card h3 {
    font-size: 20px;
  }

  .link-card p {
    font-size: 14px;
    line-height: 1.42;
  }
}

@media (max-width: 430px) {
  .topbar {
    padding: 12px 10px;
  }

  .nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav a:last-child {
    grid-column: auto;
  }

  .answer-question,
  .answer-body,
  .faq-section,
  .link-section {
    width: 100%;
    max-width: 100vw;
    padding: 16px 14px;
  }

  .service-answer .answer-question h1 {
    font-size: clamp(24px, 7.4vw, 30px);
    line-height: 1.08;
  }

  .answer-body p {
    font-size: 14px;
  }

  .faq-item h3 {
    font-size: 15px;
  }
}
