:root {
  --ink: #102d35;
  --blue: #086b78;
  --aqua: #14a3a7;
  --lime: #dff24a;
  --cream: #f5f4ed;
  --line: #d9ded9;
  --muted: #65777a;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  cursor: pointer;
}
header {
  height: 76px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  background: white;
}
.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1.5px;
  text-decoration: none;
  color: var(--ink);
}
.logo span {
  font-weight: 400;
}
.logo i {
  color: var(--aqua);
}
.location {
  font-size: 14px;
  color: var(--muted);
  margin-right: auto;
}
.about {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-weight: bold;
}
.search-hero {
  background:
    linear-gradient(
      90deg,
      rgba(7, 31, 38, 0.96) 0%,
      rgba(7, 31, 38, 0.84) 48%,
      rgba(7, 31, 38, 0.22) 100%
    ),
    url("assets/tweed-coast.webp") center/cover;
  color: white;
  padding: 70px clamp(22px, 8vw, 130px) 64px;
  position: relative;
  overflow: hidden;
}
.search-hero:after {
  content: "LOOK LOCAL";
  position: absolute;
  right: -22px;
  bottom: -25px;
  font-size: 105px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.035);
  white-space: nowrap;
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: bold;
  color: var(--aqua);
  margin: 0 0 16px;
}
.search-hero .kicker {
  color: var(--lime);
}
h1 {
  font-size: clamp(45px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 0 0 36px;
}
h1 em {
  font-style: normal;
  color: var(--lime);
}
#searchForm {
  max-width: 850px;
  position: relative;
  z-index: 2;
}
#searchForm label {
  display: flex;
  background: white;
  padding: 8px;
  align-items: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}
#searchForm label > span {
  color: var(--aqua);
  font-size: 27px;
  padding: 0 14px;
}
#search {
  border: 0;
  outline: 0;
  min-width: 0;
  flex: 1;
  font-size: 18px;
  padding: 15px 4px;
  color: var(--ink);
}
#searchForm button {
  border: 0;
  background: var(--lime);
  font-weight: bold;
  color: var(--ink);
  padding: 17px 23px;
}
.quick {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 22px;
  color: #9db0b4;
  font-size: 13px;
  position: relative;
  z-index: 2;
}
.quick button {
  border: 1px solid #486069;
  color: white;
  background: transparent;
  border-radius: 20px;
  padding: 7px 11px;
}
.results-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 60px;
  padding: 62px clamp(22px, 6vw, 90px) 90px;
  background: var(--cream);
}
aside h2 {
  font-size: 18px;
  margin-top: 0;
}
aside label {
  display: block;
  font-size: 13px;
  font-weight: bold;
  margin: 24px 0;
}
select {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink);
}
.principle {
  margin-top: 36px;
  padding: 20px;
  background: #e7eded;
  border-left: 4px solid var(--aqua);
}
.principle p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 0;
}
.list-head {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: end;
  border-bottom: 1px solid #cfd7d5;
  padding-bottom: 20px;
  margin-bottom: 4px;
}
.list-head h2 {
  margin: 0;
  font-size: 28px;
}
.list-head > span {
  font-size: 13px;
  color: var(--muted);
}
.card {
  display: grid;
  grid-template-columns: 138px 1fr auto;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid #cfd7d5;
  align-items: start;
}
.thumb {
  width: 138px;
  height: 126px;
  position: relative;
  overflow: hidden;
  background: #dce5e4;
}
.thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.thumb:hover img { transform: scale(1.035); }
.thumb span {
  position: absolute;
  left: 7px;
  bottom: 7px;
  padding: 4px 6px;
  background: rgba(7, 31, 38, 0.82);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.card h3 {
  font-size: 21px;
  margin: 0 0 6px;
}
.business-name {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.meta {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 11px;
}
.services {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.services span {
  font-size: 11px;
  background: white;
  border: 1px solid var(--line);
  padding: 5px 7px;
}
.desc {
  font-size: 14px;
  line-height: 1.5;
  color: #4f6469;
  margin: 12px 0 0;
}
.verified {
  font-size: 11px;
  color: #52715c;
  margin-top: 10px;
}
.actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 155px;
}
.actions a,
.actions button {
  padding: 11px 13px;
  text-decoration: none;
  text-align: center;
  font-size: 13px;
  font-weight: bold;
  border: 1px solid var(--blue);
  color: var(--blue);
  background: transparent;
}
.actions .call {
  background: var(--blue);
  color: white;
}
.actions .profile {
  background: white;
}
.browse-local {
  padding: 54px clamp(22px, 6vw, 90px) 68px;
  background: white;
}
.browse-local h2 {
  margin: 0 0 22px;
  font-size: 28px;
}
.browse-local > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.browse-local a {
  padding: 11px 14px;
  border: 1px solid var(--line);
  color: var(--blue);
  font-weight: bold;
  font-size: 14px;
  text-decoration: none;
}

/* Business and local service pages */
.detail-hero {
  padding: 60px clamp(22px, 8vw, 130px);
  color: white;
  background: linear-gradient(120deg, #071f26, #086b78);
}
.detail-hero .kicker { color: var(--lime); }
.detail-hero h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5vw, 66px);
}
.detail-hero p {
  max-width: 750px;
  color: #dce8e8;
  font-size: 17px;
  line-height: 1.6;
}
.breadcrumbs {
  margin-bottom: 28px;
  color: #bfd1d2;
  font-size: 13px;
}
.breadcrumbs a { color: white; }
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 52px;
  padding: 55px clamp(22px, 8vw, 130px) 75px;
  background: var(--cream);
}
.detail-content h2 { font-size: 28px; margin-top: 0; }
.detail-content h3 { margin-top: 36px; }
.detail-content p, .detail-content li { color: #4f6469; line-height: 1.7; }
.detail-content ul { padding-left: 20px; }
.detail-image {
  margin: 0 0 30px;
  position: relative;
}
.detail-image img {
  display: block;
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}
.detail-image figcaption {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 5px 8px;
  background: rgba(7, 31, 38, 0.82);
  color: white;
  font-size: 10px;
}
.detail-panel {
  background: white;
  border-top: 5px solid var(--aqua);
  padding: 25px;
  align-self: start;
}
.detail-panel h2 { margin-top: 0; font-size: 20px; }
.detail-panel .actions { margin-top: 20px; }
.detail-sidebar { align-self: start; display: grid; gap: 18px; }
.detail-sidebar .detail-panel { align-self: auto; }
.map-card { overflow: hidden; background: #fff; border-top: 5px solid var(--lime); }
.map-card-copy { padding: 22px 22px 10px; }
.map-card-copy h3 { margin: 2px 0 8px; font-size: 20px; }
.map-card-copy p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.map-card-copy .map-eyebrow { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.map-load { width: calc(100% - 44px); margin: 8px 22px 22px; border: 0; padding: 13px 16px; background: var(--blue); color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.map-load:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.map-load:disabled { background: #476168; cursor: default; }
.map-frame iframe { display: block; width: 100%; height: 260px; border: 0; }
.claim-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.claim-box p { color: var(--muted); font-size: 13px; line-height: 1.5; }
.claim-link { color: var(--blue); font-weight: bold; font-size: 13px; }
.claim-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.claim-form label { display: grid; gap: 7px; font-size: 13px; font-weight: bold; }
.claim-form input, .claim-form select, .claim-form textarea {
  width: 100%;
  padding: 13px;
  border: 1px solid #bdc9c7;
  background: white;
  color: var(--ink);
  font: inherit;
}
.claim-form textarea { resize: vertical; }
.claim-form .wide, .submit-claim { grid-column: 1 / -1; }
.claim-form .consent { grid-template-columns: auto 1fr; align-items: start; font-weight: normal; line-height: 1.5; }
.claim-form .consent input { width: auto; margin-top: 3px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.submit-claim { border: 0; background: var(--lime); color: var(--ink); padding: 15px 20px; font-weight: bold; }
.success-box, .error-box { padding: 20px; margin-bottom: 22px; background: white; border-left: 4px solid var(--aqua); }
.error-box { border-color: #c53b2d; color: #81261c; }
.claim-steps { padding-left: 20px; color: #4f6469; line-height: 1.7; }
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.link-grid a, .result-link {
  display: block;
  padding: 12px;
  background: white;
  border: 1px solid var(--line);
  color: var(--blue);
  text-decoration: none;
  font-weight: bold;
}
.directory-list { display: grid; gap: 14px; }
.directory-item {
  background: white;
  border-left: 4px solid var(--aqua);
  padding: 20px;
}
.directory-item-with-image {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
}
.directory-thumb {
  width: 180px;
  height: 142px;
  object-fit: cover;
}
.directory-item h2 { margin: 0 0 7px; font-size: 22px; }
.directory-item p { margin: 8px 0; }
.directory-item .actions { flex-direction: row; margin-top: 14px; }
.disclaimer { font-size: 12px; color: var(--muted); margin-top: 30px; }
.empty {
  padding: 50px 0;
  color: var(--muted);
}
footer {
  background: #071f26;
  color: #bed0d0;
  padding: 42px clamp(22px, 6vw, 90px);
  display: flex;
  gap: 40px;
  align-items: center;
}
.inverse {
  color: white;
}
footer p {
  margin-right: auto;
  font-size: 13px;
}
footer > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  font-size: 12px;
}
footer a {
  color: white;
}
footer button {
  background: transparent;
  border: 0;
  color: white;
}
dialog {
  max-width: 540px;
  border: 0;
  padding: 38px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.3);
  color: var(--ink);
}
dialog::backdrop {
  background: rgba(3, 21, 27, 0.72);
}
dialog p {
  line-height: 1.6;
  color: var(--muted);
}
.close {
  float: right;
  border: 0;
  background: transparent;
  font-size: 25px;
}
@media (max-width: 760px) {
  header {
    height: 66px;
  }
  .location {
    display: none;
  }
  .search-hero {
    padding-top: 52px;
    background-position: 62% center;
  }
  .search-hero:after {
    display: none;
  }
  #searchForm label {
    flex-wrap: wrap;
  }
  #searchForm label > span {
    display: none;
  }
  #search {
    width: 100%;
    flex-basis: 100%;
    padding: 15px;
  }
  #searchForm button {
    width: 100%;
  }
  .results-wrap {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 38px;
  }
  aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  aside h2,
  .principle {
    grid-column: 1/-1;
  }
  aside label {
    margin: 0;
  }
  .card {
    grid-template-columns: 100px 1fr;
  }
  .thumb {
    width: 100px;
    height: 94px;
  }
  .actions {
    grid-column: 1/-1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .list-head {
    align-items: start;
    flex-direction: column;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
  }
  footer > div {
    text-align: left;
  }
  .detail-layout { grid-template-columns: 1fr; gap: 28px; }
  .detail-panel { order: -1; }
  .link-grid { grid-template-columns: 1fr; }
  .claim-form { grid-template-columns: 1fr; }
  .claim-form .wide, .submit-claim { grid-column: auto; }
  .directory-item-with-image { grid-template-columns: 110px minmax(0, 1fr); }
  .directory-thumb { width: 110px; height: 100px; }
}
@media (max-width: 440px) {
  aside {
    grid-template-columns: 1fr;
  }
  .actions {
    grid-template-columns: 1fr;
  }
  .directory-item-with-image { grid-template-columns: 1fr; }
  .directory-thumb { width: 100%; height: 180px; }
}
