:root {
  --navy: #0d273f;
  --ink: #142133;
  --green: #3f6a42;
  --green-dark: #2e5132;
  --sage: #75835f;
  --sand: #f6f2eb;
  --cream: #fffdf8;
  --line: rgba(13, 39, 63, 0.14);
  --shadow: 0 22px 55px rgba(13, 39, 63, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
}

img,
svg {
  display: block;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 92px;
  padding: 18px clamp(22px, 5vw, 70px);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(12px);
}

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

.brand-mark {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  border-radius: 50%;
}

.brand-wordmark {
  width: clamp(170px, 18vw, 260px);
  height: auto;
  flex: 0 1 auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  color: var(--navy);
  font-size: 0.98rem;
  font-weight: 750;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--navy);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav .active::after {
  transform: scaleX(1);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--green), var(--green-dark));
  box-shadow: 0 12px 22px rgba(47, 82, 50, 0.22);
}

.btn-secondary {
  color: var(--green-dark);
  background: rgba(255, 253, 248, 0.76);
  border-color: var(--green-dark);
}

.header-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--navy);
  background: #fff;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.hero {
  position: relative;
  min-height: clamp(560px, 68vh, 690px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.97) 0%, rgba(255, 253, 248, 0.9) 38%, rgba(255, 253, 248, 0.18) 60%, rgba(255, 253, 248, 0) 100%),
    url("assets/beach%20dog%20extended.png") right center / cover no-repeat;
}

.hero-copy {
  width: min(620px, calc(100% - 44px));
  margin-left: clamp(22px, 6vw, 72px);
  padding: 52px 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: 0.98rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  line-height: 1.06;
}

h1 {
  max-width: 600px;
  font-size: clamp(3.1rem, 6vw, 5.3rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.35rem;
}

.hero-intro {
  max-width: 500px;
  margin: 24px 0 30px;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

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

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  margin-top: 44px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 150px;
  color: var(--navy);
  font-weight: 750;
  line-height: 1.24;
}

.trust-item svg {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--sage);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-pad {
  padding: clamp(48px, 8vw, 82px) clamp(22px, 6vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading .eyebrow {
  margin-bottom: 10px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1120px;
  margin: 0 auto;
}

.service-item {
  display: grid;
  align-content: start;
  justify-items: center;
  min-height: 210px;
  padding: 0 34px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.service-item:first-child {
  border-left: 0;
}

.service-item svg {
  width: 88px;
  height: 88px;
  margin-bottom: 18px;
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item p {
  max-width: 230px;
  margin: 12px auto 0;
}

.about-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.94fr);
  align-items: center;
  gap: clamp(34px, 6vw, 70px);
  max-width: 1180px;
  margin: 0 auto;
}

.about-section::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18%;
  width: 230px;
  height: 230px;
  opacity: 0.06;
  background:
    radial-gradient(circle at 50% 70%, var(--sage) 0 31%, transparent 32%),
    radial-gradient(circle at 32% 30%, var(--sage) 0 11%, transparent 12%),
    radial-gradient(circle at 50% 15%, var(--sage) 0 12%, transparent 13%),
    radial-gradient(circle at 69% 30%, var(--sage) 0 11%, transparent 12%),
    radial-gradient(circle at 22% 52%, var(--sage) 0 10%, transparent 11%),
    radial-gradient(circle at 78% 52%, var(--sage) 0 10%, transparent 11%);
  pointer-events: none;
}

.about-image {
  position: relative;
  z-index: 1;
  min-height: 390px;
  border-radius: 8px;
  background: url("assets/scott%20and%20dogs.webp") center 47% / cover no-repeat;
  box-shadow: var(--shadow);
}

.about-copy {
  position: relative;
  z-index: 1;
}

.about-copy p:not(.eyebrow) {
  max-width: 570px;
  margin: 22px 0;
  font-size: 1.06rem;
}

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

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

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

.check-list li::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.58em;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px clamp(22px, 6vw, 72px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(13, 31, 48, 0.88), rgba(13, 31, 48, 0.48)),
    url("https://images.unsplash.com/photo-1713792259829-c7883dd4519a?auto=format&fit=crop&w=1800&q=82") center 58% / cover no-repeat;
}

.cta-strip h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

.cta-strip p {
  margin: 8px 0 0;
  font-size: 1.18rem;
  font-weight: 650;
}

.cta-strip .btn {
  border-color: rgba(255, 255, 255, 0.64);
  flex: 0 0 auto;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(260px, 0.9fr) minmax(260px, 1fr);
  align-items: center;
  gap: 34px;
  padding: 38px clamp(22px, 6vw, 72px);
  color: #fff;
  background: #08283e;
}

.footer-brand {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 12px;
  font-style: normal;
}

.footer-contact a,
.footer-contact span,
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.footer-contact svg,
.footer-social svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.footer-social p {
  margin: 0;
  font-size: 0.94rem;
  opacity: 0.86;
}

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

  .brand-mark {
    width: 58px;
    height: 58px;
  }

  .brand-wordmark {
    width: clamp(150px, 26vw, 210px);
  }

  .nav-toggle {
    display: block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: grid;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open a {
    padding: 14px;
  }

  .hero {
    min-height: 650px;
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.88) 48%, rgba(255, 253, 248, 0.08) 100%),
      url("assets/beach%20dog%20extended.png") right bottom / cover no-repeat;
  }

  .hero-copy {
    margin-left: clamp(22px, 5vw, 42px);
    padding-top: 34px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 34px 0;
  }

  .service-item:nth-child(odd) {
    border-left: 0;
  }

  .about-section,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 78px;
    padding: 12px 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .brand-wordmark {
    width: clamp(132px, 44vw, 176px);
  }

  .hero {
    min-height: 690px;
    align-items: start;
    background-position: center, 70% bottom;
    background-size: auto, cover;
    background-repeat: repeat, no-repeat;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding: 32px 0 260px;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.55rem);
  }

  .hero-actions {
    gap: 12px;
  }

  .btn {
    width: 100%;
    min-height: 54px;
    padding: 0 18px;
  }

  .trust-list {
    gap: 18px;
    margin-top: 28px;
  }

  .trust-item {
    min-width: 132px;
    font-size: 0.92rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .service-item {
    min-height: auto;
    padding: 0;
    border-left: 0;
  }

  .about-image {
    min-height: 310px;
    background-size: cover;
  }

  .cta-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    gap: 28px;
  }
}
