/* Dalton Care & Support Ltd */

:root {
  --navy: #2a5f5b;
  --teal: #3f7f79;
  --navy-tint: #e4efed;
  --page: #ffffff;
  --cream: #f3f8f7;
  --white: #ffffff;
  --ink: #1f2b36;
  --ink-soft: #5a6260;
  --line: #d9e5e2;
  --sea: #d5e6f1;
  --radius: 20px;
  --gutter: 44px;
  --font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  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;
}

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.05rem; letter-spacing: -0.01em; }

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

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

ol,
ul {
  margin: 0;
  padding: 0;
}

.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(--navy);
  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(--teal);
  margin: 0 0 1rem;
}

/* Short rule before each eyebrow label, in the text colour */
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: currentColor;
}

/* Cards: rounded white panels on the beige page */

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 var(--gutter) 18px;
  box-shadow: 0 1px 2px rgba(70, 50, 25, 0.04), 0 10px 30px rgba(70, 50, 25, 0.07);
}

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

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

/* Header: wordmark, links and a referral button */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  background: var(--page);
  transition: box-shadow 0.25s ease;
}

.site-header.is-solid {
  box-shadow: 0 6px 18px rgba(70, 50, 25, 0.08);
}

/* Wordmark: house icon beside the name */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-logo {
  display: block;
  height: 68px;
  width: auto;
}

.site-footer .brand-logo {
  height: 84px;
}

.site-header .brand-logo,
.site-footer .brand-logo {
  padding: 6px 12px;
  box-sizing: border-box;
  background: var(--cream);
  border-radius: 12px;
}

.brand-text {
  display: grid;
  line-height: 1.05;
  color: var(--ink);
}

.brand-text strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-text > span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
}

.brand-text em {
  font-style: normal;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.85rem;
}

.main-nav > a:not(.nav-cta) {
  color: var(--ink);
  text-decoration: none;
}

.main-nav > a:not(.nav-cta):hover,
.main-nav > a[aria-current="page"] {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  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);
}

/* Buttons */

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

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

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

.btn-dark:hover {
  background: var(--teal);
}

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-light:hover {
  background: var(--navy-tint);
}

.btn-outline-light {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--ink);
}

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

.circle-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.circle-btn .icon {
  width: 40px;
  height: 40px;
  padding: 11px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  stroke-width: 2;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

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

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

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

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

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

/* Small round arrow used on 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, border-color 0.25s ease;
}

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

/* Hero: full-width photo with text on a green fade */

.hero {
  position: relative;
  margin: 0 var(--gutter) 18px;
  height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-settle 2.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 36, 64, 0.78), rgba(10, 36, 64, 0.3) 55%, rgba(10, 36, 64, 0.05));
}

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

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

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

/* Split: text + photo */

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

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

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

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

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

/* Intro: statement on the left, self-referral note on the right */

.referral-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  margin-bottom: 40px;
}

/* Padding matches the callout's, so the first lines of both columns line up */
.referral-intro .lede {
  max-width: none;
  margin: 0;
  padding-top: 18px;
  font-size: 1.15rem;
  color: var(--ink);
}

.referral-intro .callout {
  margin-top: 0;
}

@media (max-width: 900px) {
  .referral-intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Tinted note for a secondary point, such as self-referrals */

.callout {
  margin-top: 20px;
  padding: 18px 22px;
  background: var(--navy-tint);
  border-radius: 14px;
}

.callout-title {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.callout p {
  margin: 0;
  color: var(--ink-soft);
}

/* Services: six icon cards */

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

.service-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 200px;
  padding: 26px 24px 22px;
  background: var(--white);
  border-radius: 14px;
}

.service-item > .icon {
  width: 36px;
  height: 36px;
  stroke-width: 1.4;
  color: var(--navy);
}

.service-item > div {
  flex: 1;
}

.service-item > .arrow {
  align-self: flex-end;
}

/* Whole card links through to its page: the title link covers the card */

.service-item {
  position: relative;
  transition: box-shadow 0.25s ease;
}

.service-item h3 a {
  color: inherit;
  text-decoration: none;
}

.service-item h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
}

.service-item:hover {
  box-shadow: 0 6px 18px rgba(1, 59, 110, 0.08);
}

.service-item:hover .arrow {
  background-color: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.service-item h3 a:focus-visible {
  outline: none;
}

.service-item:has(h3 a:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.service-item p {
  margin: 0;
  font-size: 0.85rem;
}

/* Impact banner: photo with text on a green fade */

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

.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(10, 36, 64, 0.9), rgba(10, 36, 64, 0.4) 60%, rgba(10, 36, 64, 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: #d6e4f0;
}

.banner-copy p {
  margin: 0;
}

/* Locations: text and town list + schematic map */

.locations {
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  padding-right: 52px;
}

/* Towns as two columns of pills, so the list is not one long run */
.town-list {
  list-style: none;
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--ink);
}

.town-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--cream);
  border-radius: 999px;
}

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

/* Map sits inside its own rounded panel, with space around it */
.locations-map {
  display: block;
  width: 100%;
  height: auto;
  margin: 40px 0;
  border-radius: 14px;
  overflow: hidden;
}

.locations-map .sea {
  fill: var(--sea);
}

.locations-map .land {
  fill: var(--cream);
  stroke: #b9cddd;
  stroke-width: 1.5;
}

.locations-map .river {
  fill: none;
  stroke: var(--sea);
  stroke-width: 3;
  stroke-linecap: round;
}

.locations-map .region {
  stroke: none;
  font-family: var(--font);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: #7b8fa1;
}

.map-note {
  margin: 16px 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

.locations-map .sea-label {
  stroke: var(--sea);
  stroke-width: 3px;
  font-family: var(--font);
  font-size: 10px;
  font-style: italic;
  letter-spacing: 0.08em;
  fill: #5f7f98;
}

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

.locations-map .dot.is-main {
  fill: var(--teal);
  stroke-width: 3;
}

.locations-map text {
  font-family: var(--font);
  font-size: 10px;
  font-weight: 600;
  fill: var(--ink);
  paint-order: stroke;
  stroke: var(--cream);
  stroke-width: 3px;
  stroke-linejoin: round;
}

/* Referral process: four numbered steps */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.steps li {
  position: relative;
  padding: 28px 24px;
  background: var(--cream);
  border-radius: 14px;
}

/* Arrow centred in the 40px gap between steps, level with the step circles */

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -34px;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
  background-color: var(--navy);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h17M13 5l7 7-7 7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h17M13 5l7 7-7 7' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  z-index: 1;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 6px var(--navy-tint);
}

.steps h3 {
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  font-size: 0.88rem;
}

/* Success stories: intro, quote and photo */

.stories {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 12px;
  padding: 12px;
  background: var(--cream);
}

.stories-intro {
  padding: 32px 24px;
}

.stories-intro h2 {
  margin-bottom: 16px;
}

/* Quote starts at the top of the panel; the bottom is kept clear for the arrows */
.quote {
  position: relative;
  margin: 0;
  padding: 40px 44px 96px;
  background: var(--white);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.quote-mark {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.5rem;
  line-height: 0.6;
  height: 36px;
  color: var(--navy);
  margin-bottom: 20px;
}

.quote p {
  margin: 0 0 24px;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink);
}

.quote footer strong,
.quote footer span {
  display: block;
}

.quote footer strong {
  color: var(--ink);
  font-weight: 600;
}

.quote footer span {
  font-size: 0.85rem;
}

.stories-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 14px;
  align-self: stretch;
}

.quote-nav {
  position: absolute;
  right: 32px;
  bottom: 32px;
  display: flex;
  gap: 8px;
}

.quote-nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: default;
  opacity: 0.45;
}

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

/* Properties: four photo cards */

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

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

.property-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.property-card .body {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 16px;
}

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

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

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

/* Call to action band */

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 0 var(--gutter) 18px;
  padding: 40px 48px;
  background: var(--navy);
  color: #d3e0ec;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Faded photo on the right, as in the design */

.cta-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  mask-image: linear-gradient(to right, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 60%);
}

.cta > div {
  position: relative;
  z-index: 1;
}

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

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

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

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  flex: none;
  min-width: 240px;
}

.cta-actions .btn {
  justify-content: center;
}

/* Footer */

.site-footer {
  margin: 0 var(--gutter);
  padding: 40px 48px 24px;
  background: var(--cream);
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

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

.footer-tagline {
  margin: 14px 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.site-footer ul {
  list-style: none;
  display: grid;
  gap: 8px;
  align-content: start;
}

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

.site-footer a:hover {
  text-decoration: underline;
}

.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-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

/* Motion: sections rise in as they scroll into view */

.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;
}

@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 {
    animation: none;
  }
}

/* Page header for inner pages */

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

.page-head h1 {
  color: var(--ink);
  max-width: 900px;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.page-head .lede,
.page-head p {
  max-width: 720px;
}

/* Tenants: bulleted list of what residents can expect */

.check-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
  margin: 24px 0 0;
  padding: 0;
  color: var(--ink);
  font-size: 0.95rem;
}

.check-list li {
  position: relative;
  padding-left: 26px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--navy);
}

.note {
  margin: 24px 0 0;
  font-size: 0.9rem;
}

/* Referral information: four short blocks under the steps */

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 12px;
  margin-top: 28px;
}

/* Each block is a collapsible panel: click the title to open or close it */

.info-block {
  padding: 20px 24px;
  background: var(--navy-tint);
  border-radius: 14px;
}

.info-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 2px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.info-block summary::-webkit-details-marker {
  display: none;
}

.info-block summary::after {
  content: "+";
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy-tint);
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
}

.info-block[open] summary::after {
  content: "\2212";
}

.info-block summary:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 4px;
  border-radius: 4px;
}

.info-block[open] summary {
  margin-bottom: 10px;
}

.info-block p {
  margin: 0;
  font-size: 0.88rem;
}

/* About page: larger intro, and a full-width highlight for "What We Do" */

/* Label on the left, paragraph on the right, matching the header split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  align-items: start;
  margin-bottom: 40px;
}

.about-split .eyebrow {
  margin-top: 6px;
}

.about-intro {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
}

/* Heading on the left, introduction on the right */
.page-head-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
  align-items: end;
}

.page-head-split .eyebrow {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
}

.page-head-split h1 {
  grid-column: 1;
  grid-row: 2;
}

.page-head-split .lede {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: none;
  margin: 0;
}

.page-head-split .note-side {
  grid-column: 2;
  grid-row: 3;
  margin: 16px 0 0;
}

/* Equal-height cards in each row */
.info-grid-even {
  align-items: stretch;
}

/* Landlords: stats, two-part sections and the home-page band */

.page-head-split .button-row {
  grid-column: 2;
  grid-row: 3;
  margin-top: 16px;
}

.split-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

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

.stat {
  padding: 22px 20px;
  background: var(--navy-tint);
  border-radius: 14px;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.stat-label {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

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

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

/* Two independent columns: opening a block only lengthens its own column */
.info-grid-cols {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.info-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-block-wide {
  grid-column: 1 / -1;
  padding: 28px 32px;
  background: var(--teal);
  color: var(--white);
}

.info-block-wide h3 {
  margin-bottom: 16px;
  color: var(--white);
}

.info-block-wide .plain-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
}

.info-block-wide .plain-list li {
  position: relative;
  margin: 0;
  padding-left: 20px;
}

.info-block-wide .plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
}

.info-block a {
  color: var(--navy);
  font-weight: 500;
}

.plain-list {
  padding-left: 1.2em;
  font-size: 0.88rem;
}

.plain-list li {
  margin-bottom: 6px;
}

.footer-hours li {
  font-size: 0.9rem;
}

/* Contact: intro on the left, details on the right */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Each group is a panel: icon heading, icon-led contact lines, then labelled sections */
.contact-details {
  padding: 28px 30px;
  background: var(--navy-tint);
  border-radius: 14px;
}

.contact-panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.contact-panel-head .icon {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
  stroke-width: 1.6;
}

.contact-panel-head h3 {
  margin: 0;
  font-size: 1.2rem;
  color: var(--navy);
}

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

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink);
}

.contact-list .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--teal);
  stroke-width: 1.8;
}

.contact-label {
  margin: 24px 0 8px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.contact-details p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink);
}

.contact-details a {
  color: var(--navy);
  font-weight: 500;
}

/* Responsive */

@media (max-width: 1100px) {
  /* Links drop down from the header behind the menu button */

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 28px var(--gutter) 36px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: var(--navy);
    box-shadow: 0 18px 30px rgba(20, 45, 42, 0.18);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
    z-index: 1;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .main-nav > a:not(.nav-cta) {
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 500;
  }

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

  .main-nav .nav-cta {
    margin-top: 12px;
    background: var(--white);
    color: var(--navy);
  }

  .service-grid,
  .property-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Two columns: only steps 1 and 3 have a neighbour to their right */
  .steps li:nth-child(2n)::after {
    display: none;
  }

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

  .stories-intro {
    grid-column: 1 / -1;
  }

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

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

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

  .hero {
    height: 520px;
  }

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

  .split,
  .locations,
  .stories {
    grid-template-columns: 1fr;
  }

  .locations {
    padding-right: 0;
  }

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

  .locations-map {
    height: auto;
    min-height: 0;
    width: 100%;
    max-width: none;
    margin: 0 0 24px;
    aspect-ratio: 300 / 340;
  }

  .town-list {
    grid-template-columns: 1fr;
  }

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

  .stories-intro {
    grid-column: auto;
  }

  .stories-photo {
    min-height: 240px;
  }

  .check-list,
  .info-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .info-block-wide .plain-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .about-split {
    grid-template-columns: 1fr;
    row-gap: 12px;
  }

  .info-grid-cols {
    flex-direction: column;
  }

  .info-grid.info-grid-3,
  .steps.steps-3,
  .split-2,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .page-head-split .button-row {
    grid-column: 1;
    grid-row: auto;
  }

  .page-head-split {
    grid-template-columns: 1fr;
  }

  .page-head-split .eyebrow,
  .page-head-split h1,
  .page-head-split .lede,
  .page-head-split .note-side {
    grid-column: 1;
    grid-row: auto;
  }

  .banner {
    min-height: 340px;
  }

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

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

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

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

  /* Single column: arrows point down into the next step */
  .steps {
    gap: 40px;
  }

  .steps li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -34px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .steps li:nth-child(2n)::after {
    display: inline-block;
  }

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

  .button-row .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Dalton Care look: a distinct layout on the shared palette.
   Header, hero, cards, buttons, services and footer are restyled here. */

.card {
  box-shadow: 0 1px 2px rgba(20, 45, 42, 0.05), 0 14px 36px rgba(20, 45, 42, 0.08);
  border: 1px solid var(--line);
}

.btn-dark,
.btn-light {
  box-shadow: 0 6px 16px rgba(20, 45, 42, 0.14);
}

.page-head {
  background: var(--navy-tint);
  border-color: var(--navy-tint);
  padding: 36px 44px 32px;
}

.btn {
  border-radius: 10px;
  font-size: 0.95rem;
}

.pill-link {
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 600;
}

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

.circle-btn span {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}

.site-header {
  background: var(--navy);
  padding: 18px var(--gutter);
}

.site-header.is-solid {
  box-shadow: 0 6px 18px rgba(20, 45, 42, 0.18);
}

.site-header .brand,
.site-header .brand-text {
  color: var(--white);
}

.site-header .main-nav a {
  color: #d6e6e3;
}

.site-header .main-nav a:hover,
.site-header .main-nav a[aria-current="page"] {
  color: var(--white);
}

.site-header .main-nav .nav-cta {
  background: var(--cream);
  color: var(--navy);
}

.site-header .main-nav .nav-cta:hover {
  background: var(--white);
  color: var(--navy);
}

.site-header .nav-toggle .bars span {
  background: var(--navy);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  height: auto;
  background: var(--navy-tint);
}

.hero::after {
  display: none;
}

.hero img {
  position: relative;
  inset: auto;
  order: 2;
  width: calc(100% - 48px);
  height: auto;
  aspect-ratio: 3.1 / 1;
  margin: 0 24px 24px;
  border-radius: 20px;
  object-position: center 30%;
}

.hero-copy {
  order: 1;
  max-width: none;
  padding: 56px 56px 40px;
}

.hero-copy h1 {
  color: var(--ink);
}

.hero-copy .eyebrow {
  color: var(--teal);
}

.hero-text {
  color: var(--ink-soft);
}

.hero .btn-light {
  background: var(--navy);
  color: var(--white);
}

.hero .btn-light:hover {
  background: var(--teal);
}

.hero .btn-outline-light {
  border-color: var(--navy);
  color: var(--navy);
}

@media (max-width: 860px) {
  .hero img {
    aspect-ratio: 16 / 10;
  }

  .hero-copy {
    padding: 40px 28px 24px;
  }
}

.service-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-item {
  flex-direction: row;
  align-items: center;
  min-height: 0;
  padding: 22px 8px;
  background: none;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}

.service-item > div {
  flex: 1;
}

.service-item > .icon,
.service-item > .arrow {
  flex: none;
}

.check-list {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.check-list li {
  padding: 10px 18px 10px 38px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.check-list li::before {
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.site-footer {
  margin: 0;
  padding: 56px var(--gutter) 28px;
  background: var(--navy);
  border-radius: 0;
  color: #cfe0dc;
}

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

.site-footer .brand,
.site-footer .brand-text {
  color: var(--white);
}

.site-footer .footer-tagline {
  color: #a9c7c2;
}

.contact-details .btn-dark {
  color: var(--white);
}

/* Photo placeholders, used on the home page until real photography is ready */

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  height: 100%;
  padding: 24px;
  background: repeating-linear-gradient(135deg, var(--navy-tint) 0 14px, #d6e8e4 14px 28px);
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  border-radius: 16px;
}

.hero .image-placeholder.hero-photo {
  order: 2;
  min-height: 0;
  height: auto;
  aspect-ratio: 3.1 / 1;
  margin: 0 24px 24px;
  border-radius: 20px;
}

@media (max-width: 860px) {
  .hero .image-placeholder.hero-photo {
    aspect-ratio: 16 / 10;
  }
}

/* Home page layout: centred hero, statement, two-column services, then the sections */

.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 56px var(--gutter) 64px;
}

.home-hero-copy {
  text-align: left;
}

.home-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 0.4em;
}

.home-hero .eyebrow {
  color: var(--teal);
  display: inline-block;
}

.home-hero .eyebrow::before {
  display: none;
}

.home-hero .hero-text {
  max-width: 520px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.home-hero .button-row {
  justify-content: flex-start;
  margin-top: 32px;
}

.home-hero .hero-wide {
  margin-top: 0;
  aspect-ratio: 4 / 3;
  box-shadow: 0 24px 48px -28px rgba(31, 52, 56, 0.35);
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-hero-copy {
    text-align: center;
  }

  .home-hero .hero-text {
    margin: 0 auto;
  }

  .home-hero .button-row {
    justify-content: center;
  }
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-dark:hover {
  background: var(--navy-tint);
}

.hero-wide {
  display: block;
  width: 100%;
  margin-top: 48px;
  aspect-ratio: 3.6 / 1;
  min-height: 0;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

.statement {
  max-width: 1500px;
  margin: 0 auto;
  padding: 32px var(--gutter) 36px;
  text-align: left;
}

.statement p {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
  max-width: 760px;
  margin: 0 0 28px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.two-col .col {
  padding: 56px 52px;
}

.two-col .col-alt {
  background: var(--cream);
  border-left: 1px solid var(--line);
}

.two-col h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}


.numbered {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.numbered li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.numbered li:last-child {
  border-bottom: 1px solid var(--line);
}

.numbered li > span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal);
  padding-top: 3px;
}

.numbered h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.numbered p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .home-hero {
    padding: 56px 20px 0;
  }

  .statement {
    padding: 64px 20px 40px;
    text-align: center;
  }

  .statement p {
    margin-left: auto;
    margin-right: auto;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .two-col .col {
    padding: 40px 28px;
  }

  .two-col .col-alt {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* Inner pages: framed split photos, two-column numbered lists and a tinted commitment panel */

.split img {
  align-self: center;
  width: calc(100% - 64px);
  height: auto;
  max-height: 460px;
  margin: 32px;
  object-fit: cover;
  border-radius: 16px;
}

.numbered.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
}

.numbered.two-up li {
  border-bottom: 1px solid var(--line);
}

.numbered.two-up h3 {
  font-size: 0.98rem;
  font-weight: 500;
  margin: 0;
}

.commitment {
  background: var(--navy-tint);
}

.commitment .card-body {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}

.eyebrow::before {
  display: none;
}

.commitment h2 {
  margin-bottom: 0;
}

.commitment p:first-of-type {
  margin-top: 0;
}

@media (max-width: 860px) {
  .commitment .card-body {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Two panels side by side, e.g. Support Includes and Our Commitment */

.panel-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 0 var(--gutter) 18px;
}

.panel-pair > .card {
  margin: 0;
}

.panel-pair .card-body {
  padding: 40px 36px;
}

.panel-pair .numbered.two-up {
  grid-template-columns: 1fr;
}

.panel-pair .commitment .card-body {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}

.panel-pair .commitment h2 {
  margin-bottom: 0.5em;
}

.panel-pair > .card {
  display: flex;
  flex-direction: column;
}

.panel-pair > .card > .card-body {
  flex: 1;
}

.panel-pair .commitment .card-body > div:last-child {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.panel-pair .commitment .button-row {
  align-self: flex-start;
  margin-top: 24px;
}

.panel-pair .commitment .numbered {
  margin-top: 8px;
}

@media (max-width: 860px) {
  .panel-pair {
    grid-template-columns: 1fr;
    margin: 0 20px 18px;
  }
}

@media (max-width: 860px) {
  .numbered.two-up {
    grid-template-columns: 1fr;
  }
}
