/* BCS North */

:root {
  --navy: #13233d;
  --navy-soft: #1d3150;
  --blue: #1f6fe0;
  --blue-dark: #1859b8;
  --blue-tint: #e2edfb;
  --orange: #e6710c;
  --page: #e6dfd4;
  --cream: #f6f1ea;
  --white: #ffffff;
  --ink: #13233d;
  --ink-soft: #505b6b;
  --line: #e6dfd4;
  --radius: 14px;
  --gutter: 44px;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #e6dfd4;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-soft);
  background: var(--page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.5s ease;
}

/* Airbnb tab: deep blue palette so it reads as its own site */

body[data-tab="airbnb"] {
  --page: #24476e;
  --cream: #ebf2f9;
  --line: #d3e1ee;
}

/* Soft Services tab: dark slate palette */

body[data-tab="soft"] {
  --page: #3a4350;
  --cream: #f1f3f6;
  --line: #dde1e7;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--white); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

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

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--blue);
  color: var(--white);
  padding: 0.6rem 1.1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 0;
}

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

/* Page frame: rounded white cards on the beige page */

.site-wrap {
  padding: 0 var(--gutter);
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}

.card-body {
  padding: 48px 52px;
}

/* Header: wordmark, service tabs and menu button on the page colour */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gutter);
  background: var(--page);
  transition: box-shadow 0.25s ease, background-color 0.5s ease;
}

.site-header.is-solid {
  box-shadow: 0 6px 18px rgba(19, 35, 61, 0.08);
}

/* Logo: navy pill holding the logo image */

.brand {
  justify-self: start;
  display: inline-flex;
  background: var(--navy);
  border-radius: 999px;
  padding: 10px 22px;
  line-height: 0;
}

.brand img {
  height: 30px;
  width: auto;
}

.service-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--white);
}

.service-tab {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 28px 10px 24px;
  font: inherit;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.service-tab > span {
  display: grid;
  line-height: 1.25;
}

.service-tab strong {
  font-size: 0.85rem;
  font-weight: 600;
}

.service-tab small {
  font-size: 0.68rem;
  color: var(--ink-soft);
}

.service-tab:hover {
  background: var(--cream);
}

.service-tab.is-active {
  background: var(--navy);
  color: var(--white);
}

.service-tab.is-active small {
  color: #c4ccd8;
}

.nav-toggle {
  grid-column: -2 / -1;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--white);
  color: var(--navy);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle .bars {
  display: grid;
  gap: 4px;
}

.nav-toggle .bars span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
}

.main-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--navy);
  color: var(--white);
  padding: 120px 48px 48px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.main-nav.open {
  transform: translateX(0);
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 500;
}

.main-nav a[aria-current="page"] {
  color: #8fb8f2;
}

.nav-close {
  position: absolute;
  top: 28px;
  right: var(--gutter);
  background: var(--white);
  color: var(--navy);
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

/* Hero */

.hero {
  position: relative;
  margin: 0 var(--gutter) 18px;
  height: 540px;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(19, 35, 61, 0.72), rgba(19, 35, 61, 0.25) 55%, rgba(19, 35, 61, 0.05));
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 56px;
  max-width: 720px;
}

.hero-copy .eyebrow {
  color: #dbe2ec;
}

/* Each service slide fills the hero; the tabs in the header switch between them */

.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-text {
  max-width: 500px;
  color: var(--white);
  font-size: 1.05rem;
}

/* Each tab shows its own set of sections below the hero */

.tab-content {
  display: none;
}

.tab-content.is-active {
  display: block;
}

/* Buttons: solid blue pill, outline pill */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn,
.circle-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 26px;
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  justify-self: start;
  align-self: flex-start;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn .icon,
.circle-btn .icon {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.btn {
  background: var(--blue);
  color: var(--white);
  border: 1px solid var(--blue);
}

.btn:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.circle-btn {
  background: transparent;
  color: var(--ink);
  border: 1px solid currentColor;
}

.circle-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.circle-btn.on-dark {
  color: var(--white);
}

.circle-btn.on-dark:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.btn.on-dark {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.btn.on-dark:hover {
  background: var(--blue-tint);
}

.btn:active,
.circle-btn:active {
  transform: scale(0.97);
}

/* Small round arrow used on service and property cards */

.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.arrow .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

/* Two-column card: text + photo */

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
}

.split img {
  width: calc(100% - 10px);
  height: calc(100% - 20px);
  min-height: 300px;
  object-fit: cover;
  margin: 10px 10px 10px 0;
  border-radius: 10px;
}

.split .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split h2 {
  max-width: 480px;
}

.lede {
  max-width: 520px;
  font-size: 1.02rem;
  color: var(--ink-soft);
}

/* Feature strip: four icon columns */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream);
  padding: 28px 0;
}

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

.feature {
  text-align: center;
  padding: 4px 20px;
  border-left: 1px solid var(--line);
}

.feature:first-child {
  border-left: 0;
}

.feature .icon {
  width: 40px;
  height: 40px;
  stroke-width: 1.3;
  color: var(--navy);
  margin: 0 auto 14px;
}

.feature h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.feature p {
  margin: 0 auto;
  max-width: 180px;
  font-size: 0.85rem;
}

/* Pricing: intro text + three tiers */

.pricing {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 12px;
  padding: 12px;
}

.pricing h2 {
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
}

.pricing .card-body {
  padding: 24px 28px 24px 12px;
}

.pricing .lede {
  font-size: 0.95rem;
}

.pricing .pricing-note {
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 12px;
}

.tier {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--cream);
  border-radius: 10px;
  padding: 28px 20px;
}

.tier strong {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.tier .of {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  margin: 6px 0 22px;
}

.tier p {
  font-size: 0.9rem;
  margin: 0 0 22px;
  max-width: 150px;
}

.tier .houses {
  display: flex;
  gap: 4px;
  margin-top: auto;
  color: var(--navy);
}

.tier .houses .icon {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

.tier.is-best {
  background: var(--blue-tint);
}

.tier.is-best strong,
.tier.is-best .of,
.tier.is-best .houses {
  color: var(--blue);
}

/* Coverage: text and town list + map */

.coverage {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
}

.town-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 6px 28px;
  font-size: 0.85rem;
  color: var(--ink);
}

.town-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.town-list .icon {
  width: 14px;
  height: 14px;
  fill: var(--navy);
  stroke: var(--white);
  stroke-width: 1.5;
}

.coverage-map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  background: #cfdeec;
}

.coverage-map .sea {
  fill: #cfdeec;
}

.coverage-map .land {
  fill: #f4f5f7;
  stroke: #b9cde0;
  stroke-width: 1.2;
}

.coverage-map .river {
  fill: none;
  stroke: #cfdeec;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.coverage-map .road {
  fill: none;
  stroke: #dde2e9;
  stroke-width: 3;
  stroke-linecap: round;
}

.coverage-map .dot {
  fill: var(--navy);
  stroke: var(--white);
  stroke-width: 3;
}

.coverage-map .dot.is-main {
  fill: var(--blue);
  stroke-width: 4;
}

.coverage-map text {
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  fill: var(--navy);
  paint-order: stroke;
  stroke: #f4f5f7;
  stroke-width: 4px;
  stroke-linejoin: round;
}

.coverage-map .is-main + text {
  font-weight: 700;
}

.coverage-map .region {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  fill: #a9b4c2;
  stroke: none;
}

.coverage-map .sea-label {
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  fill: #7f9bb8;
  stroke: none;
}

/* Section header with a small "view all" link */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.section-head .eyebrow {
  margin: 0;
  color: var(--ink);
}

.pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
}

.pill-link .icon {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}

.pill-link:hover {
  background: var(--navy);
  color: var(--white);
}

/* Service cards: photo, title, short text, arrow */

.cream {
  background: var(--cream);
}

.cream .card-body {
  padding: 24px 16px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
}

.service-card img,
.property-card img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card .body,
.property-card .body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 16px;
  position: relative;
  background: var(--white);
}

.service-card .body > div,
.property-card .body > div {
  flex: 1;
}

.service-card h3 {
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.service-card p {
  font-size: 0.82rem;
  margin: 0;
}

.service-card:hover .arrow,
.property-card:hover .arrow {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.service-card:hover img,
.property-card:hover img {
  transform: scale(1.04);
}

/* Latest properties */

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.property-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
}

.property-card img {
  aspect-ratio: 16 / 10;
}

.property-card h3 {
  font-size: 0.82rem;
  margin: 0;
}

.property-card span {
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* Statement card: lighter, larger heading and a round button */

.split.statement h2 {
  font-weight: 400;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.round-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.round-btn .icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

.round-btn:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* Banner: full-width photo with text on a navy fade */

.banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 360px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
}

.banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(19, 35, 61, 0.85), rgba(19, 35, 61, 0.35) 60%, rgba(19, 35, 61, 0.1));
}

.banner-copy {
  position: relative;
  z-index: 2;
  max-width: 560px;
  padding: 40px 52px;
  color: var(--white);
}

.banner-copy h2 {
  color: var(--white);
}

.banner-copy .eyebrow {
  color: #dbe2ec;
}

.banner-copy p {
  margin: 0;
}

/* Sector cards: two large service cards side by side */

.sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.sector-grid .service-card {
  border-radius: var(--radius);
}

.sector-grid .service-card img {
  aspect-ratio: 16 / 6;
}

.sector-grid .service-card .body {
  padding: 20px 24px 24px;
}

.sector-grid h3 {
  font-size: 1.2rem;
}

.sector-grid p {
  font-size: 0.88rem;
}

/* What we provide: icon rows in two columns */

.provide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.provide-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--line);
}

.provide-row:nth-last-child(-n+2) {
  border-bottom: 0;
}

.provide-row .icon {
  width: 34px;
  height: 34px;
  stroke-width: 1.3;
  color: var(--navy);
}

.provide-row h3 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.provide-row p {
  font-size: 0.85rem;
  margin: 0;
}

/* Call to action band */

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--navy);
  color: #d1d8e2;
  border-radius: var(--radius);
  padding: 32px 44px;
  margin-bottom: 18px;
}

.cta .eyebrow {
  color: #d1d8e2;
  margin-bottom: 8px;
}

.cta h2 {
  color: var(--white);
  margin-bottom: 10px;
}

.cta p {
  max-width: 560px;
  margin: 0;
}

.cta p a {
  color: var(--white);
}

.cta .btn {
  align-self: center;
  flex: none;
}

/* Projects grid (inner pages and commercial tab) */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.project-grid.single {
  grid-template-columns: 1fr;
}

.project-tile {
  position: relative;
  height: 360px;
  border-radius: 10px;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  text-decoration: none;
}

.project-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 35, 61, 0.8), rgba(19, 35, 61, 0) 60%);
}

.project-tile span {
  position: relative;
  z-index: 1;
  padding: 24px;
  font-size: 1.2rem;
  font-weight: 600;
}

.project-tile:hover img {
  transform: scale(1.04);
}

/* What we provide: list of services (inner pages) */

.provide-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  margin: 32px 0 40px;
}

.provide-item {
  border-top: 1px solid var(--line);
  padding: 24px 0 28px;
}

.provide-item h3 {
  margin-bottom: 8px;
}

.provide-item p {
  margin: 0;
  font-size: 0.95rem;
}

.tag {
  display: inline-block;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 500;
  margin-left: 6px;
}

/* Inner page heading */

.page-head {
  padding: 56px 52px 48px;
}

.page-head h1 {
  color: var(--ink);
  max-width: 900px;
}

.page-head p {
  max-width: 620px;
  font-size: 1.05rem;
}

/* Project case studies */

.case {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  padding: 48px 52px;
  border-top: 1px solid var(--line);
}

.case:first-of-type {
  border-top: 0;
}

.case h3 {
  font-size: 1.4rem;
}

.case p {
  font-size: 0.98rem;
}

/* Values and story */

.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.values p {
  font-size: 0.95rem;
  margin: 0;
}

/* Contact page: phone, email and office tiles */

.contact-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 12px;
  margin-top: 36px;
}

.contact-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 24px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.contact-tile .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: var(--blue);
}

.contact-tile .eyebrow {
  margin: 0;
}

.contact-tile strong {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

a.contact-tile:hover {
  background: var(--navy);
  color: var(--white);
}

a.contact-tile:hover .eyebrow,
a.contact-tile:hover .icon {
  color: #c4ccd8;
}

.opening {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.opening p {
  margin: 0;
}

.meta {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

/* Footer: navy card */

.site-footer {
  background: var(--navy);
  color: #c9d1dc;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: 0 var(--gutter);
  padding: 32px 44px 24px;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr 1.4fr;
  gap: 32px;
  padding-bottom: 32px;
}

.site-footer .brand {
  padding: 0;
}

.site-footer .brand img {
  height: 36px;
}

.socials {
  display: flex;
  gap: 16px;
  margin-top: 22px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  align-content: start;
}

.site-footer a {
  color: #c9d1dc;
  text-decoration: none;
}

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

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.footer-contact .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--white);
}

.footer-contact .socials a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact .socials .icon {
  margin-top: 0;
}

.footer-bottom {
  font-size: 0.75rem;
  color: #8f9bad;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Floating WhatsApp button, bottom right on every page */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* Floating Instagram button, sitting beside the WhatsApp button */

.instagram-float {
  position: fixed;
  right: 96px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: var(--white);
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.instagram-float svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.instagram-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .instagram-float {
    right: 84px;
    bottom: 16px;
    width: 54px;
    height: 54px;
  }

  .instagram-float svg {
    width: 26px;
    height: 26px;
  }
}

/* Motion: sections rise in as they scroll into view, and the hero photo settles */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero img {
  animation: hero-settle 2.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hero-settle {
  from {
    transform: scale(1.08);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero img,
  .project-tile img,
  .service-card img,
  .property-card img {
    animation: none;
    transition: none;
  }
}

/* Responsive */

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .service-tab small {
    display: none;
  }

  .service-tab {
    padding: 10px 18px;
  }

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

  .pricing .card-body {
    grid-column: 1 / -1;
    padding: 24px 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --gutter: 16px;
  }

  .card-body,
  .page-head,
  .case {
    padding: 36px 24px;
  }

  .hero {
    height: 500px;
  }

  .hero-copy {
    padding: 0 24px;
  }

  .split,
  .coverage,
  .case,
  .opening {
    grid-template-columns: 1fr;
  }

  .coverage-map {
    height: auto;
    min-height: 0;
    aspect-ratio: 8 / 5;
  }

  .town-list {
    grid-template-columns: repeat(2, max-content);
  }

  .split img {
    width: calc(100% - 20px);
    min-height: 240px;
    margin: 0 10px 10px;
  }

  .features,
  .service-grid,
  .property-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sector-grid,
  .provide-grid {
    grid-template-columns: 1fr;
  }

  .provide-row:nth-last-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .banner-copy {
    padding: 36px 24px;
  }

  .features:not(.three) .feature:nth-child(3) {
    border-left: 0;
  }

  .features {
    row-gap: 28px;
  }

  .provide-list,
  .values,
  .project-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .project-grid,
  .contact-tiles {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }

  .cta .btn {
    align-self: flex-start;
  }

  .site-footer {
    padding: 32px 24px 24px;
  }

  /* Tabs drop to a full-width row under the logo and menu button */

  .site-header {
    grid-template-columns: 1fr auto;
    row-gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .service-tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
  }

  .service-tab {
    flex: 1;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
  }

  .service-tab .icon {
    display: none;
  }

  .service-tab strong {
    font-size: 0.8rem;
  }

  /* Short tab names on phones: "Commercial", "Airbnb", "Soft Services" */
  .service-tab .long {
    display: none;
  }

  html {
    scroll-padding-top: 150px;
  }
}

@media (max-width: 600px) {
  .pricing,
  .features,
  .features.three,
  .service-grid,
  .property-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    border-left: 0;
  }

  .tier strong {
    font-size: 2.2rem;
  }
}

@media (max-width: 380px) {
  .service-tab {
    padding: 9px 6px;
  }

  .service-tab strong {
    font-size: 0.72rem;
  }
}
