:root {
  --navy: #07334c;
  --navy-deep: #052b42;
  --gold: #d88d2a;
  --gold-light: #f1b759;
  --cream: #fff8f1;
  --cream-2: #fdf1e5;
  --paper: #fffdfa;
  --ink: #113d57;
  --muted: #657684;
  --line: rgba(7, 51, 76, 0.12);
  --shadow: 0 15px 42px rgba(57, 41, 29, 0.09);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
  --script: "Segoe Script", "Brush Script MT", cursive;
}

* {
  box-sizing: border-box;
}

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

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

html,
body,
a,
button,
[role="button"] {
  cursor: url("assets/cursor-paw.png") 2 2, auto;
}

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

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.paw-trail {
  position: fixed;
  z-index: 8;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.paw-runner {
  position: absolute;
  width: 72px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  animation-duration: var(--travel-time);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: var(--travel-delay);
  will-change: transform;
}

.paw-runner svg {
  width: var(--paw-size);
  height: var(--paw-size);
  fill: #c98222;
  filter:
    drop-shadow(-1px -1px 0 rgba(255, 255, 255, 0.92))
    drop-shadow(1px 2px 1px rgba(117, 67, 19, 0.24));
  animation: walking-step 0.82s ease-in-out infinite;
}

.paw-runner--cat svg {
  fill: #bd7925;
}

.paw-runner--guinea svg {
  fill: #d09645;
}

.paw-runner--bird svg {
  fill: none;
  stroke: #c98222;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.paw-runner svg:nth-child(2) {
  align-self: flex-end;
  animation-delay: -0.41s;
}

.paw-runner--one {
  --paw-size: 27px;
  --travel-time: 18s;
  --travel-delay: -5s;
  top: 18%;
  left: -100px;
  animation-name: runner-east;
}

.paw-runner--two {
  --paw-size: 31px;
  --travel-time: 21s;
  --travel-delay: -13s;
  top: 69%;
  right: -100px;
  animation-name: runner-west;
}

.paw-runner--three {
  --paw-size: 25px;
  --travel-time: 20s;
  --travel-delay: -9s;
  bottom: -100px;
  left: 14%;
  animation-name: runner-north-east;
}

.paw-runner--four {
  --paw-size: 30px;
  --travel-time: 24s;
  --travel-delay: -17s;
  top: -100px;
  right: 12%;
  animation-name: runner-south-west;
}

.paw-runner--five {
  --paw-size: 23px;
  --travel-time: 17s;
  --travel-delay: -11s;
  bottom: -100px;
  left: 48%;
  animation-name: runner-north;
}

.paw-runner--six {
  --paw-size: 29px;
  --travel-time: 22s;
  --travel-delay: -3s;
  top: -100px;
  left: 72%;
  animation-name: runner-south;
}

.paw-runner--seven {
  --paw-size: 24px;
  --travel-time: 26s;
  --travel-delay: -20s;
  top: 44%;
  left: -100px;
  animation-name: runner-east-low;
}

.paw-runner--eight {
  --paw-size: 28px;
  --travel-time: 23s;
  --travel-delay: -15s;
  top: 35%;
  right: -100px;
  animation-name: runner-west-low;
}

.paw-runner--nine {
  --paw-size: 25px;
  --travel-time: 19s;
  --travel-delay: -8s;
  top: 8%;
  left: -100px;
  animation-name: runner-east;
}

.paw-runner--ten {
  --paw-size: 26px;
  --travel-time: 20s;
  --travel-delay: -6s;
  top: 82%;
  right: -100px;
  animation-name: runner-west;
}

.paw-runner--eleven {
  --paw-size: 27px;
  --travel-time: 25s;
  --travel-delay: -14s;
  bottom: -100px;
  left: 82%;
  animation-name: runner-north-east;
}

.paw-runner--twelve {
  --paw-size: 25px;
  --travel-time: 23s;
  --travel-delay: -10s;
  top: -100px;
  left: 28%;
  animation-name: runner-south-west;
}

@keyframes walking-step {
  0%,
  100% {
    opacity: 0.08;
    transform: translateY(5px) scale(0.82);
  }
  45% {
    opacity: 0.31;
    transform: translateY(0) scale(1.04);
  }
  58% {
    opacity: 0.26;
    transform: translateY(0) scale(1);
  }
}

@keyframes runner-east {
  from { transform: translate3d(0, 0, 0) rotate(82deg); }
  to { transform: translate3d(calc(100vw + 200px), 32vh, 0) rotate(82deg); }
}

@keyframes runner-west {
  from { transform: translate3d(0, 0, 0) rotate(-82deg); }
  to { transform: translate3d(calc(-100vw - 200px), -28vh, 0) rotate(-82deg); }
}

@keyframes runner-north-east {
  from { transform: translate3d(0, 0, 0) rotate(35deg); }
  to { transform: translate3d(62vw, calc(-100vh - 200px), 0) rotate(35deg); }
}

@keyframes runner-south-west {
  from { transform: translate3d(0, 0, 0) rotate(-145deg); }
  to { transform: translate3d(-64vw, calc(100vh + 200px), 0) rotate(-145deg); }
}

@keyframes runner-north {
  from { transform: translate3d(0, 0, 0) rotate(4deg); }
  to { transform: translate3d(10vw, calc(-100vh - 200px), 0) rotate(4deg); }
}

@keyframes runner-south {
  from { transform: translate3d(0, 0, 0) rotate(176deg); }
  to { transform: translate3d(-12vw, calc(100vh + 200px), 0) rotate(176deg); }
}

@keyframes runner-east-low {
  from { transform: translate3d(0, 0, 0) rotate(96deg); }
  to { transform: translate3d(calc(100vw + 200px), -18vh, 0) rotate(96deg); }
}

@keyframes runner-west-low {
  from { transform: translate3d(0, 0, 0) rotate(-96deg); }
  to { transform: translate3d(calc(-100vw - 200px), 20vh, 0) rotate(-96deg); }
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: -100px;
  padding: 0.7rem 1rem;
  color: white;
  background: var(--navy);
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 50;
  min-height: 48px;
  color: #f9efe5;
  background: var(--navy-deep);
  font-family: var(--serif);
  font-size: 0.78rem;
}

.topbar__inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 48px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.topbar__promises {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.8rem);
}

.topbar b {
  color: var(--gold-light);
  margin-right: 0.35rem;
}

.topbar__phone {
  min-height: 48px;
  padding: 5px 14px 5px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 0;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.topbar__phone:hover {
  background: transparent;
}

.topbar__phone-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--navy-deep);
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(241, 183, 89, 0.12);
}

.topbar__phone-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topbar__phone-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.topbar__phone-copy small {
  color: #f1c276;
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar__phone-copy strong {
  margin-top: 3px;
  color: white;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.site-header {
  position: relative;
  z-index: 50;
  height: 76px;
  background: rgba(255, 250, 245, 0.97);
  border-bottom: 1px solid rgba(7, 51, 76, 0.08);
}

.nav-wrap {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 7px;
  width: 190px;
  height: 190px;
  transform: none;
  overflow: visible;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: block;
  text-decoration: none;
  filter: drop-shadow(0 10px 18px rgba(7, 51, 76, 0.09));
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: logo-golden-glow 5.5s ease-in-out infinite;
}

@keyframes logo-golden-glow {
  0%,
  100% {
    filter:
      drop-shadow(0 0 4px rgba(255, 205, 105, 0.46))
      drop-shadow(0 0 12px rgba(220, 145, 27, 0.28))
      drop-shadow(0 7px 12px rgba(7, 51, 76, 0.08));
  }

  40% {
    filter:
      drop-shadow(0 0 8px rgba(255, 225, 151, 0.98))
      drop-shadow(0 0 20px rgba(255, 185, 61, 0.82))
      drop-shadow(0 0 34px rgba(216, 141, 42, 0.56))
      drop-shadow(0 7px 12px rgba(7, 51, 76, 0.08));
  }

  51% {
    filter:
      drop-shadow(0 0 6px rgba(255, 218, 132, 0.72))
      drop-shadow(0 0 16px rgba(241, 183, 89, 0.48))
      drop-shadow(0 7px 12px rgba(7, 51, 76, 0.08));
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  margin-left: 180px;
  font-family: var(--serif);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.main-nav a {
  position: relative;
  padding: 26px 0 22px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 16px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  background:
    radial-gradient(circle at 24% 60%, rgba(237, 175, 96, 0.12), transparent 32%),
    var(--cream-2);
  overflow: hidden;
}

.hero__inner {
  min-height: 398px;
  display: grid;
  grid-template-columns: 48% 52%;
}

.hero__content {
  position: relative;
  z-index: 3;
  width: min(510px, calc(100% - 50px));
  margin-left: max(210px, calc((100vw - 1180px) / 2 + 210px));
  padding: 52px 28px 43px 0;
  align-self: center;
}

.eyebrow {
  margin: 0 0 0.45rem;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.8rem, 4.3vw, 4.65rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero__signature {
  margin: 0.75rem 0 0.8rem;
  color: var(--gold);
  font-family: var(--script);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  transform: rotate(-1deg);
}

.hero__text {
  max-width: 475px;
  margin: 0;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 1.25rem;
}

.text-link,
.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.text-link span,
.service-card a span {
  color: var(--gold);
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.text-link:hover span,
.service-card a:hover span {
  transform: translateX(4px);
}

.button {
  display: inline-flex;
  min-height: 43px;
  padding: 0.65rem 1.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--gold);
  border-radius: 8px;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.button--solid {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.button--solid:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.hero__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hero__visual::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 32%;
  background: linear-gradient(90deg, var(--cream-2), transparent);
  pointer-events: none;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 53% center;
}

.trust-badge {
  position: absolute;
  z-index: 2;
  right: 4%;
  bottom: 18px;
  width: 148px;
  height: 148px;
  overflow: hidden;
  background: #fffaf3;
  border: 2px solid rgba(255, 250, 243, 0.92);
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(216, 146, 37, 0.72),
    0 12px 24px rgba(7, 51, 76, 0.3);
}

.trust-badge > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.badge-seal__outer {
  fill: #052f48;
  stroke: #d89225;
  stroke-width: 5;
}

.badge-seal__middle {
  fill: none;
  stroke: #f3cd7a;
  stroke-width: 2;
}

.badge-seal__inner {
  fill: #083b56;
  stroke: rgba(243, 205, 122, 0.72);
  stroke-width: 1.5;
}

.badge-seal__arc {
  fill: #ffe09b;
  font-family: var(--sans);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 1.15px;
}

.badge-seal__arc--bottom {
  font-size: 7.2px;
  letter-spacing: 0.8px;
}

.badge-seal__heart {
  fill: rgba(243, 205, 122, 0.12);
  stroke: rgba(243, 205, 122, 0.64);
  stroke-width: 1.2;
}

.badge-seal__paw {
  fill: #f8d889;
}

.badge-seal__dot {
  fill: #f8d889;
}

.section {
  padding: 55px 0;
}

.services {
  background:
    radial-gradient(circle at 85% 20%, rgba(216, 141, 42, 0.07), transparent 28%),
    var(--cream);
}

.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1.4rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.section-heading > div {
  min-width: fit-content;
}

.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.3vw, 1.65rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.heading-paw {
  display: block;
  width: 18px;
  height: 18px;
  margin: 5px auto 0;
  fill: var(--gold);
}

.section-heading__line {
  width: 40px;
  height: 1px;
  margin-top: 0.85rem;
  background: var(--gold);
}

.section-heading__line:first-child::after,
.section-heading__line:last-child::before {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  margin-top: -2px;
  background: var(--gold);
  border-radius: 50%;
}

.section-heading__line:first-child::after {
  margin-left: auto;
}

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

.service-card {
  min-height: 240px;
  padding: 22px 23px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(7, 51, 76, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(74, 53, 38, 0.055);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 141, 42, 0.3);
  box-shadow: var(--shadow);
}

.service-card__icon {
  width: 53px;
  height: 53px;
  margin-bottom: 0.3rem;
  color: var(--gold);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: 0.98rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.service-card p {
  margin: 0 0 1rem;
  color: #38566a;
  font-family: var(--serif);
  font-size: 0.88rem;
  line-height: 1.45;
}

.service-card a {
  margin-top: auto;
}

.about-trust {
  display: grid;
  grid-template-columns: minmax(480px, 43%) 1fr;
  min-height: 350px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about {
  display: grid;
  grid-template-columns: 46% 54%;
  background: var(--paper);
}

.about__photo {
  min-height: 350px;
  overflow: hidden;
}

.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
}

.about__content {
  padding: 36px 28px;
  align-self: center;
}

.about__content h2 {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  line-height: 1.15;
}

.about__content p:not(.eyebrow) {
  margin: 0 0 0.7rem;
  color: #3d596b;
  font-family: var(--serif);
  font-size: 0.86rem;
}

.mini-paw {
  display: block;
  width: 18px;
  height: 18px;
  margin-bottom: 0.6rem;
  fill: var(--gold);
}

.trust {
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(255, 250, 245, 0.92), rgba(255, 250, 245, 0.92)),
    radial-gradient(circle at center, var(--gold-light), transparent 60%);
}

.trust__inner {
  width: 100%;
  padding: 35px 42px;
}

.section-heading--compact {
  margin-bottom: 1.8rem;
}

.section-heading--compact h2 {
  font-size: 1.15rem;
}

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

.trust-grid article {
  text-align: center;
}

.trust-icon {
  display: block;
  height: 53px;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 3.1rem;
  line-height: 1;
}

.trust-grid h3 {
  margin: 0.55rem 0 0.3rem;
  font-family: var(--serif);
  font-size: 0.85rem;
  line-height: 1.2;
  text-transform: uppercase;
}

.trust-grid p {
  margin: 0;
  color: #496476;
  font-family: var(--serif);
  font-size: 0.77rem;
  line-height: 1.4;
}

.details {
  background: #fffaf5;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.detail-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 32px;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(57, 41, 29, 0.055);
}

.detail-card::after {
  content: "🐾";
  position: absolute;
  right: -10px;
  bottom: -36px;
  font-size: 7.5rem;
  opacity: 0.045;
  transform: rotate(-16deg);
}

.detail-card__number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 3.5rem;
  line-height: 1;
}

.detail-card h3 {
  margin: 0 0 0.8rem;
  font-family: var(--serif);
  font-size: 1.45rem;
}

.detail-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  list-style: none;
  color: #496476;
}

.detail-card li {
  position: relative;
  padding-left: 1.4rem;
}

.detail-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.legal-page {
  min-height: 620px;
  padding: 64px 0 78px;
  background:
    radial-gradient(circle at 18% 18%, rgba(216, 141, 42, 0.1), transparent 28%),
    var(--cream);
}

.legal-page__inner {
  max-width: 1040px;
}

.legal-page h1 {
  margin: 0.1rem 0 0.7rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  font-weight: 500;
  line-height: 1.05;
}

.legal-page__intro {
  max-width: 690px;
  margin: 0 0 2rem;
  color: #496476;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.legal-card {
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(57, 41, 29, 0.055);
}

.legal-card--wide {
  grid-column: 1 / -1;
}

.legal-card h2 {
  margin: 0 0 0.65rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 700;
}

.legal-card p {
  margin: 0 0 0.55rem;
  color: #496476;
  font-family: var(--serif);
  font-size: 0.92rem;
  line-height: 1.5;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

.legal-card strong {
  color: var(--navy);
}

.legal-card a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(216, 141, 42, 0.7);
  text-underline-offset: 3px;
}

.legal-card a:hover {
  color: var(--gold);
}

.legal-page__back {
  display: inline-flex;
  margin-top: 2rem;
}

@media (min-width: 651px) {
  .legal-body .legal-page {
    padding-top: 180px;
  }
}

.contact-strip {
  padding: 24px 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(216, 141, 42, 0.16), transparent 17%),
    #f8dfc8;
  border-top: 1px solid rgba(216, 141, 42, 0.15);
}

.contact-strip__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.contact-strip__paw {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  background: var(--navy);
  border: 3px double var(--gold);
  border-radius: 50%;
}

.contact-strip__paw svg {
  width: 30px;
  height: 30px;
  fill: var(--gold-light);
}

.contact-strip h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 500;
}

.contact-strip p {
  margin: 0.15rem 0 0;
  color: #557080;
  font-family: var(--serif);
  font-size: 0.9rem;
}

.button--outline {
  min-width: 180px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.2);
}

.button--outline:hover {
  color: white;
  background: var(--navy);
  border-color: var(--navy);
}

.site-footer {
  color: #f7eee6;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.045), transparent 40%),
    var(--navy-deep);
}

.footer-grid {
  padding: 34px 0 28px;
  display: grid;
  grid-template-columns: 1.55fr 0.72fr 0.68fr 0.92fr 1.08fr;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand__logo {
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  overflow: visible;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.18));
}

.footer-brand__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand h2 {
  margin: 0;
  color: white;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-brand p {
  margin: 0.1rem 0;
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-brand small {
  color: #d8e0e4;
  font-family: var(--serif);
}

.footer-column {
  padding-left: 25px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-column h3 {
  margin: 0 0 0.65rem;
  color: white;
  font-family: var(--serif);
  font-size: 0.86rem;
  font-weight: 500;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  margin: 0.2rem 0;
  display: block;
  color: #d8e0e4;
  font-family: var(--serif);
  font-size: 0.78rem;
}

.footer-column a:hover {
  color: var(--gold-light);
}

.footer-contact span {
  display: inline-block;
  width: 18px;
  color: var(--gold-light);
}

.footer-location__address {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.footer-location__address svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 2px;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-location__address p {
  margin-top: 0;
  line-height: 1.35;
}

.footer-location__address strong {
  color: white;
  font-weight: 500;
}

.footer-location__illustration {
  display: block;
  width: min(100%, 235px);
  height: auto;
  margin-top: 8px;
  opacity: 0.96;
  filter:
    sepia(0.12)
    saturate(1.12)
    drop-shadow(0 0 3px rgba(241, 183, 89, 0.16));
}

.footer-bottom {
  min-height: 40px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #c8d3d9;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--serif);
  font-size: 0.72rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p + p::before {
  content: "|";
  margin-right: 15px;
  opacity: 0.4;
}

.logo-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  padding: 28px;
  display: grid;
  place-items: center;
  background: rgba(3, 28, 44, 0.88);
  backdrop-filter: blur(8px);
  animation: modal-fade-in 0.2s ease both;
}

.logo-modal[hidden] {
  display: none;
}

.logo-modal__panel {
  position: relative;
  width: min(720px, 92vw);
  max-height: 92vh;
  padding: 20px 20px 14px;
  overflow: hidden;
  background: #fffaf4;
  border: 2px solid var(--gold);
  border-radius: 20px;
  box-shadow: 0 26px 75px rgba(0, 0, 0, 0.42);
  text-align: center;
  animation: modal-panel-in 0.24s ease both;
}

.logo-modal__panel img {
  width: 100%;
  max-height: calc(92vh - 75px);
  object-fit: contain;
  border-radius: 12px;
}

.logo-modal__panel p {
  margin: 8px 0 0;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-modal__close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--navy);
  border: 2px solid var(--gold-light);
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(7, 51, 76, 0.28);
  font-size: 2rem;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.logo-modal__close:hover {
  background: #0d5577;
  transform: scale(1.04);
}

body.modal-open {
  overflow: hidden;
}

@keyframes modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-panel-in {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

.back-to-top {
  position: fixed;
  z-index: 40;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  color: white;
  background: var(--navy);
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(7, 51, 76, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

@media (max-width: 1180px) {
  .brand {
    width: 170px;
    height: 170px;
  }

  .hero__content {
    margin-left: 190px;
  }

  .main-nav {
    gap: 2.2rem;
    margin-left: 175px;
  }

  .about-trust {
    grid-template-columns: 1fr;
  }

  .about {
    grid-template-columns: 40% 60%;
  }
}

@media (max-width: 930px) {
  .topbar__promises span:nth-child(2) {
    display: none;
  }

  .site-header {
    height: 84px;
  }

  .nav-wrap {
    justify-content: flex-end;
  }

  .brand {
    left: 0;
    top: 50%;
    width: 78px;
    height: 78px;
    transform: translateY(-50%);
  }

  .menu-toggle {
    z-index: 4;
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    z-index: 3;
    top: 84px;
    right: -20px;
    left: -20px;
    max-height: 0;
    margin: 0;
    overflow: hidden;
    display: grid;
    gap: 0;
    color: white;
    background: var(--navy-deep);
    box-shadow: 0 16px 25px rgba(7, 51, 76, 0.15);
    transition: max-height 0.3s ease;
  }

  .main-nav.open {
    max-height: 370px;
  }

  .main-nav a {
    padding: 15px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a::after {
    display: none;
  }

  .hero__inner {
    min-height: 620px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 310px;
  }

  .hero__content {
    width: min(680px, calc(100% - 40px));
    margin: 0 auto;
    padding: 45px 0 35px;
  }

  .hero__visual::before {
    inset: 0;
    width: 100%;
    height: 20%;
    background: linear-gradient(180deg, var(--cream-2), transparent);
  }

  .hero__visual img {
    object-position: 58% center;
  }

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

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }

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

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

  .footer-contact {
    grid-column: 2;
  }

  .footer-location {
    grid-column: 3;
  }
}

@media (max-width: 650px) {
  .container,
  .topbar__inner,
  .nav-wrap {
    width: min(100% - 28px, 1180px);
  }

  .legal-page {
    min-height: 0;
    padding: 44px 0 56px;
  }

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

  .legal-card--wide {
    grid-column: auto;
  }

  .legal-card {
    padding: 20px;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__promises {
    display: none;
  }

  .topbar__phone {
    font-size: 0.82rem;
  }

  .brand {
    top: 50%;
    width: 74px;
    height: 74px;
  }

  .hero__inner {
    min-height: 630px;
    grid-template-rows: auto 285px;
  }

  .hero__content {
    width: calc(100% - 28px);
    max-width: 360px;
    margin-right: auto;
    margin-left: 14px;
    padding: 56px 0 30px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 11vw, 2.65rem);
    overflow-wrap: anywhere;
  }

  .hero__signature {
    font-size: clamp(1.18rem, 6vw, 1.55rem);
    line-height: 1.35;
  }

  .hero__text {
    font-size: 0.92rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .trust-badge {
    right: 12px;
    bottom: 12px;
    width: 110px;
    height: 110px;
  }

  .section {
    padding: 42px 0;
  }

  .section-heading {
    gap: 0.7rem;
  }

  .section-heading__line {
    width: 23px;
  }

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

  .service-card {
    min-height: auto;
  }

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

  .about__photo {
    min-height: 300px;
  }

  .about__content {
    padding: 32px 24px 38px;
  }

  .trust__inner {
    padding: 40px 20px;
  }

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

  .detail-card {
    padding: 25px 22px;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .detail-card__number {
    font-size: 2.4rem;
  }

  .contact-strip__inner {
    grid-template-columns: 54px 1fr;
  }

  .contact-strip__paw {
    width: 54px;
    height: 54px;
  }

  .contact-strip .button {
    grid-column: 1 / -1;
    width: 100%;
  }

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

  .footer-column,
  .footer-contact,
  .footer-location {
    grid-column: auto;
    padding: 20px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 2px;
  }

  .footer-bottom p + p::before {
    display: none;
  }

  .logo-modal {
    padding: 12px;
  }

  .logo-modal__panel {
    width: 96vw;
    padding: 12px 12px 10px;
  }

  .logo-modal__close {
    top: 8px;
    right: 8px;
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .paw-trail {
    display: none;
  }
}

@media (pointer: coarse) {
  html,
  body,
  a,
  button,
  [role="button"] {
    cursor: auto;
  }
}
