/* =========================================================
   Lil' Rascals Pet Sitting, Inc. — static rebuild
   Self-contained CSS. System font stack. Coral-red accent.
   ========================================================= */

:root {
  --accent: #f24559;
  --accent-dark: #d62f43;
  --accent-soft: #fde8eb;
  --ink: #2b2b32;
  --ink-soft: #55555f;
  --cream: #fff8f5;
  --card: #ffffff;
  --line: #f0e3df;
  --shadow: 0 10px 30px rgba(43, 43, 50, 0.08);
  --shadow-sm: 0 4px 14px rgba(43, 43, 50, 0.07);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--accent-dark); }

h1, h2, h3 {
  line-height: 1.2;
  color: var(--ink);
  font-weight: 800;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1rem; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: clamp(48px, 8vw, 88px) 0; }
.section--tint { background: var(--accent-soft); }
.section--white { background: #fff; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 0.6rem;
}

.lead { font-size: 1.12rem; color: var(--ink-soft); }
.text-center { text-align: center; }
.muted { color: var(--ink-soft); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Focus visibility ---------- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn--ghost {
  background: #fff;
  color: var(--accent-dark);
  border-color: var(--accent);
}
.btn--ghost:hover { background: var(--accent-soft); transform: translateY(-2px); }
.btn--lg { padding: 16px 34px; font-size: 1.06rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: var(--maxw);
  margin-inline: auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 54px; width: auto; }
.brand-name {
  font-weight: 800;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.1;
}
.brand-name span { display: block; color: var(--accent-dark); font-size: 0.78rem; font-weight: 700; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a.navlink {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.98rem;
}
.nav a.navlink:hover { background: var(--accent-soft); color: var(--accent-dark); }
.nav a.navlink[aria-current="page"] { color: var(--accent-dark); }
.nav .btn { margin-left: 6px; }

.nav-toggle {
  display: none;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  width: 48px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a.navlink { padding: 12px 10px; font-size: 1.05rem; }
  .nav .btn { margin-left: 0; margin-top: 6px; }
  .header-inner { position: relative; }
  .brand-name { font-size: 0.95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,248,245,0.9), rgba(255,248,245,0.9)),
    var(--accent-soft);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(40px, 7vw, 80px) 0;
}
.hero-logo { height: 96px; width: auto; margin-bottom: 18px; }
.hero h1 { margin-bottom: 0.3em; }
.hero .tagline2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 0.8rem;
}
.hero .claim {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin-bottom: 1.6rem;
}
.hero-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  object-fit: cover;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-media { order: -1; }
}

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.card--service { text-align: left; }
.card__icon {
  width: 62px;
  height: 62px;
  object-fit: contain;
  margin-bottom: 14px;
}
.card h3 { margin-bottom: 0.35em; }
.card p:last-child { margin-bottom: 0; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.about-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-media img { border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.about-media img:first-child { margin-top: 24px; }
@media (max-width: 780px) {
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Why choose us strip ---------- */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
.feature-list .check {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
  margin-top: 2px;
}
.feature-list strong { display: block; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid a { display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.gallery-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s ease;
}
.gallery-grid a:hover img { transform: scale(1.05); }
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.thumb-row img { aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
@media (max-width: 640px) { .thumb-row { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--accent), var(--accent-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(30px, 5vw, 52px);
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 560px; margin-inline: auto; }
.cta-band .btn--ghost { background: #fff; border-color: #fff; color: var(--accent-dark); }
.cta-band .paws {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 130px;
  opacity: 0.18;
  pointer-events: none;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

.info-list { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); font-weight: 700; }
.info-list a { color: var(--accent-dark); font-weight: 700; text-decoration: none; word-break: break-word; }
.info-list a:hover { text-decoration: underline; }

/* ---------- Form ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.95rem; }
.field .req { color: var(--accent-dark); }
.field input,
.field textarea {
  font: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--ink);
  width: 100%;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }

/* honeypot */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 16px;
  border-radius: var(--radius-sm);
  padding: 0;
  font-weight: 600;
}
.form-status.show { padding: 14px 16px; }
.form-status.success { background: #e6f6ec; color: #17663a; border: 1px solid #b6e2c6; }
.form-status.error { background: #fdecee; color: #a4172a; border: 1px solid #f4c2c9; }

.form-actions { margin-top: 20px; }

@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: #2b2b32;
  color: #d8d8de;
  padding: 48px 0 28px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}
.site-footer h3 { color: #fff; font-size: 1.05rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--accent); }
.footer-brand img { height: 60px; width: auto; margin-bottom: 12px; background:#fff; border-radius:10px; padding:6px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #b9b9c2;
}
.footer-bottom {
  border-top: 1px solid #40404a;
  margin-top: 32px;
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #b9b9c2;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  background: var(--accent-soft);
  padding: clamp(40px, 6vw, 64px) 0;
  text-align: center;
}
.page-hero p { max-width: 640px; margin-inline: auto; color: var(--ink-soft); }
.breadcrumbs { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 10px; }
.breadcrumbs a { color: var(--accent-dark); text-decoration: none; }

/* ---------- Service detail rows ---------- */
.service-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.service-row img { width: 72px; height: 72px; object-fit: contain; }
@media (max-width: 520px) {
  .service-row { grid-template-columns: 1fr; gap: 12px; }
}

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