:root {
  --teal: #2ec4b6;
  --teal-dark: #087a73;
  --purple: #7e4eb2;
  --lavender: #b28ddb;
  --cream: #fff8f0;
  --pink: #ffb6c1;
  --gold: #ffd166;
  --mint: #a8e6cf;
  --ink: #1d2330;
  --muted: #687083;
  --line: rgba(29, 35, 48, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fffdf9;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-nav {
  position: fixed;
  inset: 18px 20px auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(29, 35, 48, 0.14);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  color: var(--purple);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 999px;
}

.site-nav nav {
  display: flex;
  gap: 6px;
}

.site-nav nav a {
  padding: 9px 12px;
  border-radius: 999px;
  color: #314052;
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav nav a:hover {
  background: rgba(46, 196, 182, 0.14);
  color: var(--teal-dark);
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 118px clamp(22px, 6vw, 88px) 76px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(90deg, rgba(3, 23, 48, 0.80), rgba(3, 23, 48, 0.30) 46%, rgba(255, 248, 240, 0.12)), url("/assets/splash_vetfantasy.png");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 24%;
  background: linear-gradient(0deg, #fffdf9, rgba(255, 253, 249, 0));
}

.hero-content {
  width: min(760px, 100%);
  color: white;
}

.hero-logo {
  width: min(330px, 76vw);
  display: block;
  margin: 0 0 18px;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.36));
}

.hero-kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 9vw, 6.8rem);
  text-wrap: balance;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
}

.button.primary {
  background: var(--teal);
  color: #062d2b;
  box-shadow: 0 16px 40px rgba(46, 196, 182, 0.28);
}

.button.ghost {
  border: 1px solid rgba(255, 255, 255, 0.56);
  color: white;
}

.button.dark {
  border-color: var(--line);
  color: var(--purple);
}

.scroll-cue {
  position: absolute;
  left: clamp(22px, 6vw, 88px);
  bottom: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.section {
  padding: clamp(64px, 10vw, 116px) clamp(22px, 6vw, 88px);
}

.section-head {
  width: min(880px, 100%);
}

.section .eyebrow {
  color: var(--teal-dark);
}

.section h2 {
  max-width: 920px;
  font-size: clamp(2rem, 5vw, 4.5rem);
}

.services {
  background: #fffdf9;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.service-grid article {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 50px rgba(29, 35, 48, 0.07);
}

.service-grid span {
  color: var(--pink);
  font-weight: 900;
}

.service-grid h3 {
  margin: 38px 0 10px;
  color: var(--purple);
  font-size: 1.22rem;
}

.service-grid p,
.app-copy p,
.visit p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.app-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
  background: var(--cream);
}

.app-copy p {
  max-width: 720px;
  margin-top: 20px;
  font-size: 1.08rem;
}

.app-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.app-badges span {
  padding: 10px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  color: var(--teal-dark);
  font-weight: 800;
}

.phone-preview {
  aspect-ratio: 0.58;
  max-height: 700px;
  border-radius: 44px;
  padding: 12px;
  background: #172033;
  box-shadow: 0 32px 80px rgba(29, 35, 48, 0.28);
}

.phone-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px;
  text-align: center;
  border-radius: 34px;
  background: linear-gradient(180deg, #ffffff, #fff8f0);
}

.phone-screen img {
  width: min(170px, 60%);
  border-radius: 36px;
  box-shadow: 0 22px 48px rgba(126, 78, 178, 0.22);
}

.phone-screen h3 {
  margin: 24px 0 8px;
  color: var(--purple);
  font-size: 2rem;
}

.phone-screen p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.55;
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(24px, 6vw, 70px);
  align-items: center;
  background: #ffffff;
}

.visit-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  box-shadow: 0 20px 60px rgba(29, 35, 48, 0.09);
}

.visit-card img {
  width: 100%;
  max-width: 240px;
  display: block;
  margin: 0 auto 18px;
}

.visit-card p {
  color: var(--teal-dark);
  font-weight: 900;
}

.visit-card strong {
  display: block;
  margin: 8px 0 20px;
  font-size: 1.35rem;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(22px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 920px) {
  .service-grid,
  .app-band,
  .visit {
    grid-template-columns: 1fr;
  }

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

  .phone-preview {
    width: min(360px, 100%);
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .site-nav {
    inset: 10px 10px auto;
  }

  .site-nav nav {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: 104px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero-logo {
    width: min(260px, 72vw);
  }

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