/* =========================================================================
   Comfy Claws Mobile Cat Care, LLC — main stylesheet
   ========================================================================= */

:root {
  /* REPLACEABLE IMAGES — swap the file in assets/ or change the path here.
     ------------------------------------------------------------------- */
  --img-hero: url("assets/hero.jpg");          /* cream-and-ginger cat on a deck */
  --img-portrait: url("assets/jordana.jpg");   /* Jordana holding Eli */
  /* END REPLACEABLE IMAGES */

  --ink:        #13272a;
  --ink-soft:   #3d5155;
  --cream:      #fbf7f1;
  --cream-deep: #f4ece0;
  --surface:    #ffffff;
  --teal:       #0f7c84;
  --teal-hover: #0b5f66;
  --teal-deep:  #0b4d54;
  --teal-dark:  #0a2f33;
  --wash:       #e6f4f4;
  --blush:      #a8443f;
  --line:       #e4dace;
  --line-soft:  #eee6da;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, ui-serif, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(19,39,42,.06), 0 10px 30px -14px rgba(19,39,42,.22);
  --shadow-lg: 0 2px 4px rgba(19,39,42,.06), 0 26px 60px -28px rgba(19,39,42,.34);
  --wrap: 1140px;
  --gap: clamp(1.5rem, 1rem + 2vw, 3rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--teal-deep);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.15rem, 1.35rem + 3.3vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.9vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); font-family: var(--sans); font-weight: 700; letter-spacing: 0; color: var(--ink); }
h4 { font-size: 1.05rem; font-family: var(--sans); font-weight: 700; color: var(--ink); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal-hover); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blush); }

img, picture { max-width: 100%; }
img { height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--blush);
  outline-offset: 3px;
  border-radius: 4px;
}
/* The terracotta focus ring is invisible on the dark teal sections, so those
   get a white ring instead. */
.band :focus-visible,
.trust :focus-visible,
.site-foot :focus-visible { outline-color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--teal-deep); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; color: #fff; }

.kicker {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-hover);
  margin: 0 0 .7rem;
}
.lede { font-size: clamp(1.06rem, 1rem + .35vw, 1.22rem); color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 650; line-height: 1.2;
  padding: .92rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 10px 22px -12px rgba(15,124,132,.9); }
.btn-primary:hover { background: var(--teal-hover); color: #fff; transform: translateY(-2px); }
.btn-ghost { border-color: var(--teal); color: var(--teal-hover); background: transparent; }
.btn-ghost:hover { background: var(--wash); color: var(--teal-deep); transform: translateY(-2px); }
.btn-sm { padding: .62rem 1.1rem; font-size: .93rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin-top: 1.6rem; }

.textlink {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 650; text-decoration: none; color: var(--teal-hover);
}
.textlink::after { content: "\2192"; transition: transform .15s ease; }
.textlink:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,241,.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: .6rem; padding: .7rem 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--teal-deep); margin-right: auto; }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-family: var(--serif); font-size: 1.22rem; font-weight: 700; letter-spacing: -.01em; }
.brand-text em { font-style: normal; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }

.head-phone {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 650; font-size: .93rem; text-decoration: none;
  color: #fff; background: var(--teal);
  border-radius: 999px; padding: .55rem 1rem;
  white-space: nowrap;
}
.head-phone:hover { background: var(--teal-hover); color: #fff; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 650; font-size: .95rem;
  background: var(--surface); color: var(--teal-deep);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem 1rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top: 6px; }

.site-nav { display: none; width: 100%; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-direction: column; }
.site-nav a {
  display: block; padding: .6rem .2rem; text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.site-nav a:hover { color: var(--teal); }
.site-nav a.is-current { color: var(--teal); }
.nav-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; padding: 1rem 0 .4rem; }
.nav-phone { font-weight: 650; font-size: .93rem; text-decoration: none; color: var(--teal-deep); white-space: nowrap; }

@media (max-width: 420px) {
  .brand img { width: 44px; height: 44px; }
  .brand-text b { font-size: 1.05rem; }
  .brand-text em { display: none; }
  .head-phone { padding: .58rem .8rem; }
  .head-phone span {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
}

@media (min-width: 980px) {
  .nav-toggle, .head-phone { display: none; }
  .site-nav { display: flex !important; width: auto; align-items: center; gap: 1.4rem; }
  .site-nav ul { flex-direction: row; gap: 1.25rem; margin: 0; }
  .site-nav a { border: 0; padding: .3rem 0; font-size: .95rem; position: relative; }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .18s ease;
  }
  .site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
  .nav-cta { padding: 0; }
  .nav-phone { display: none; }
}
@media (min-width: 1180px) { .nav-phone { display: inline; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 2rem + 5vw, 6rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line-soft); }
.section-wash { background: var(--wash); border-block: 1px solid #d3e9e9; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3rem); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 520px at 12% -5%, #ffffff 0%, rgba(255,255,255,0) 62%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%);
  padding: clamp(2.5rem, 1.5rem + 5vw, 5.5rem) 0 clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: var(--ink-soft); }
.hero-figure { margin: 0; position: relative; }
.hero-figure img {
  width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  background: var(--surface);
}
.hero-figure figcaption {
  margin-top: .9rem; font-size: .92rem; color: var(--ink-soft);
  border-left: 3px solid var(--teal); padding-left: .8rem;
}
.hero-figure figcaption b { color: var(--teal-deep); display: block; font-size: 1rem; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-figure img { max-height: 560px; width: auto; margin-inline: auto; }
  .hero-figure figcaption { text-align: left; max-width: 30ch; margin-inline: auto; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--teal-dark); color: #dff0f0; padding: 1.5rem 0; }
.trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem 2rem; }
.trust li { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; line-height: 1.45; }
.trust li::before {
  content: ""; flex: 0 0 auto; width: 9px; height: 9px; margin-top: .45em;
  border-radius: 50%; background: #7fe0e7;
}
.trust b { color: #fff; }
@media (min-width: 760px) { .trust ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .trust ul { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Split (text + image) ---------- */
.split { display: grid; gap: clamp(1.8rem, 1rem + 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split-narrow { grid-template-columns: 1.1fr .9fr; }
  .split-rev .split-media { order: -1; }
}
.split-media img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.split figure { margin: 0; }
.split figcaption { margin-top: .75rem; font-size: .9rem; color: var(--ink-soft); }

/* ---------- Value cards ---------- */
.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 680px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-body h3 { margin-bottom: .5rem; }
.card-body p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ---------- Service list (price menu) ---------- */
.svc-list { display: grid; gap: 1.1rem; }
@media (min-width: 820px) { .svc-list { grid-template-columns: repeat(2, 1fr); } }
.svc {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-left: 4px solid var(--teal);
  border-radius: var(--r);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow);
}
.svc h3 { margin-bottom: .35rem; }
.svc-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1rem; margin: 0 0 .7rem; }
.svc-dur {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal-deep); background: var(--wash); border-radius: 999px; padding: .2rem .7rem;
}
.svc-price { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--blush); }
.svc-desc { color: var(--ink-soft); font-size: .97rem; margin: 0; }

/* ---------- Zone / fee list ---------- */
.zone-list { display: grid; gap: .9rem; margin: 0; padding: 0; list-style: none; }
.zone {
  display: grid; gap: .2rem .9rem;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 1rem 1.2rem;
}
.zone h3 { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: .55rem; }
.zone h3::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--line); flex: 0 0 auto; }
.zone[data-color="green"] h3::before  { background: #57bb8a; }
.zone[data-color="yellow"] h3::before { background: #e9c94a; }
.zone[data-color="purple"] h3::before { background: #7b5cd6; }
.zone .fee { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--blush); }
.zone p { margin: 0; font-size: .93rem; color: var(--ink-soft); }
@media (min-width: 640px) {
  .zone { grid-template-columns: 1fr auto; align-items: center; }
  .zone p { grid-column: 1 / -1; }
}

.map-figure { margin: 0; }
.map-figure img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-figure figcaption { margin-top: .6rem; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Steps / prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin-bottom: .7rem; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1rem; }
.steps li {
  counter-increment: step;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r);
  padding: 1.15rem 1.3rem 1.15rem 3.6rem; position: relative;
  color: var(--ink-soft);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 1.1rem; top: 1.1rem;
  width: 1.85rem; height: 1.85rem; border-radius: 50%;
  background: var(--teal); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: .95rem;
  display: grid; place-items: center;
}

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.checks li { position: relative; padding-left: 1.9rem; color: var(--ink-soft); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .45em;
  width: .72rem; height: .4rem; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}

/* ---------- Panels ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); padding: clamp(1.4rem, 1rem + 1.6vw, 2.2rem);
  box-shadow: var(--shadow);
}
.panel-quiet { background: var(--cream-deep); border-color: var(--line); box-shadow: none; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .8rem; max-width: 74ch; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: 1.2rem 1.4rem;
}
.faq-item h3 { margin-bottom: .5rem; }
.faq-item p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* ---------- CTA band ---------- */
.band {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-dark) 100%);
  color: #e3f2f2;
  padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
}
.band h2 { color: #fff; }
.band .kicker { color: #7fe0e7; }
.band .lede { color: #cfe6e6; margin-inline: auto; }
.band-inner { text-align: center; }
.band-inner .btn-row { justify-content: center; }
.band .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.band .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.band .btn-primary { background: #7fe0e7; color: #08343a; }
.band .btn-primary:hover { background: #a6ecf1; color: #08343a; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: clamp(1.8rem, 1rem + 3vw, 3rem); align-items: start; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1fr 1.05fr; } }

.contact-lines { list-style: none; margin: 0 0 1.4rem; padding: 0; display: grid; gap: 1rem; }
.contact-lines li { display: grid; gap: .1rem; }
.contact-lines .label { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-hover); }
.contact-lines a, .contact-lines span.value { font-size: 1.12rem; font-weight: 650; color: var(--teal-deep); text-decoration: none; }
.contact-lines a:hover { color: var(--blush); }

/* ---------- Form ---------- */
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; } }
.field { display: grid; gap: .35rem; }
.field label { font-size: .88rem; font-weight: 650; color: var(--ink); }
.field .req { color: var(--blush); }
.field input, .field textarea {
  font: inherit; font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--cream); color: var(--ink);
  width: 100%;
}
.field input:focus, .field textarea:focus { border-color: var(--teal); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.hp {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.form-status { margin: 0; padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: .95rem; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--wash); border: 1px solid #b5dedf; color: var(--teal-deep); }
.form-status.err { background: #fdeceb; border: 1px solid #f0c3c0; color: #8a2f2a; }
.cf-turnstile { min-height: 65px; }

/* ---------- Footer ---------- */
.site-foot { background: var(--teal-dark); color: #c9dedf; padding: clamp(2.8rem, 2rem + 3vw, 4rem) 0 1.6rem; }
.foot-grid { display: grid; gap: 2.2rem; }
@media (min-width: 720px)  { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-foot h2 { color: #fff; font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.foot-word { margin: 0 0 .5rem; line-height: 1.2; }
.foot-word b { display: block; font-family: var(--serif); font-size: 1.45rem; color: #fff; }
.foot-word span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8fb9bb; }
.foot-tag { font-size: .95rem; max-width: 34ch; }
.foot-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.4rem; }
.foot-badges img { height: 44px; width: auto; background: #fff; border-radius: 8px; padding: 5px 8px; }
.foot-contact, .foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.foot-contact a, .foot-links a { color: #e2f2f2; text-decoration: none; font-size: .96rem; }
.foot-contact a { font-weight: 650; }
.foot-contact a:hover, .foot-links a:hover { color: #7fe0e7; text-decoration: underline; }
.foot-note { font-size: .88rem; color: #9fc4c6; margin: 1rem 0 1.2rem; }
.foot-base {
  margin-top: 2.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; justify-content: space-between;
}
.foot-base p { margin: 0; font-size: .82rem; color: #8fb0b2; }
.foot-base a { color: #a8c8ca; }
.foot-base a:hover { color: #7fe0e7; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .85rem; color: var(--ink-soft); padding-top: 1.2rem; }
.crumbs a { color: var(--ink-soft); }

.page-head { padding: clamp(2.4rem, 1.5rem + 3vw, 4rem) 0 clamp(1.5rem, 1rem + 2vw, 2.5rem); background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); border-bottom: 1px solid var(--line); }
.page-head .lede { margin-top: .4rem; }
