:root {
  --charcoal: #111111;
  --surface: #1e1e1e;
  --surface-2: #252525;
  --line: rgba(217, 217, 217, 0.17);
  --white: #f6f6f6;
  --muted: #c6c6c6;
  --silver: #d9d9d9;
  --silver-dim: #888888;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--charcoal);
  color: var(--white);
  font-family: "Avenir Next", "Montserrat", "Inter", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

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

.container {
  width: min(var(--max), calc(100% - clamp(32px, 5vw, 64px)));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(17, 17, 17, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--silver);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.brand img {
  width: 68px;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.08);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link,
.mega-trigger,
.nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.mega-trigger {
  padding: 0 16px;
  border: 1px solid rgba(217, 217, 217, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.mega-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.82;
}

.nav-link:hover,
.mega-trigger:hover,
.nav-item.mega-open .mega-trigger,
.nav-cta:hover {
  color: var(--white);
}

.mega-trigger:hover,
.nav-item.mega-open .mega-trigger {
  border-color: rgba(246, 246, 246, 0.48);
  background: rgba(246, 246, 246, 0.14);
}

.nav-cta {
  padding: 0 26px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav-item {
  position: relative;
}

.mega {
  position: absolute;
  top: calc(100% + 16px);
  right: -80px;
  width: min(720px, calc(100vw - 64px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(30, 30, 30, 0.96);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.nav-item:hover .mega,
.nav-item:focus-within .mega,
.nav-item.mega-open .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

.mega a {
  min-height: 68px;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.mega a:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
}

.mega strong {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mega span {
  font-size: 0.82rem;
  line-height: 1.45;
}

.mega-section {
  grid-column: 1 / -1;
  margin: 4px 4px 0;
  color: var(--silver-dim);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--white);
}

.hero {
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: calc(94px + env(safe-area-inset-top, 0px)) 0 64px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.72)),
    url("../images/optimized/hero-pets.webp") center/cover;
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(246, 246, 246, 0.66);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.breadcrumb a {
  color: rgba(246, 246, 246, 0.86);
}

.breadcrumb span:not(:last-child)::after,
.breadcrumb a::after {
  content: "/";
  margin-left: 8px;
  color: rgba(246, 246, 246, 0.36);
}

.eyebrow {
  display: block;
  margin-bottom: 18px;
  color: var(--silver-dim);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.03;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
}

h3 {
  margin-bottom: 12px;
  color: var(--silver);
  font-size: 1rem;
  letter-spacing: 0.18em;
}

.lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
}

.section {
  padding: 80px 0;
}

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

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

.step-list,
.fact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-item,
.step-list li,
.fact-list li {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.faq-item p,
.step-list li,
.fact-list li {
  color: var(--muted);
}

.step-list strong,
.fact-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.panel p,
.copy p,
.copy li {
  color: var(--muted);
}

.copy {
  max-width: 860px;
}

.copy p {
  margin: 0 0 18px;
}

.copy ul {
  margin: 0;
  padding-left: 22px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 28px;
  padding: 0 28px;
  border-radius: 999px;
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-footer {
  padding: 58px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--silver-dim);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 44px;
  margin-bottom: 44px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--silver);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.footer-brand img {
  width: 68px;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.08);
}

.footer-col h4 {
  margin: 0 0 18px;
  color: var(--silver);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: var(--muted);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

@media (max-width: 780px) {
  .nav {
    flex-direction: row;
    align-items: center;
    padding: 18px 0;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: calc(92px + env(safe-area-inset-top, 0px));
    left: 14px;
    right: 14px;
    z-index: 1000;
    max-height: calc(100dvh - 98px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(30, 30, 30, 0.98);
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link,
  .mega-trigger,
  .nav-cta {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
  }

  .nav-cta {
    padding: 0 16px;
    border-color: rgba(217, 217, 217, 0.24);
  }

  .mega {
    position: static;
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.04);
  }

  .mega-grid,
  .faq-grid,
  .step-list,
  .fact-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mega a {
    min-height: 56px;
    padding: 12px;
    border-color: rgba(217, 217, 217, 0.11);
    background: rgba(17, 17, 17, 0.18);
  }

  .mega-section {
    margin-top: 8px;
  }

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

  .section {
    padding: 60px 0;
  }

  .hero {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: calc(94px + env(safe-area-inset-top, 0px));
  }

  .footer-grid {
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero {
    align-items: start;
    padding-top: calc(112px + env(safe-area-inset-top, 0px));
  }

  .brand span {
    display: none;
  }
}
