/* ===========================================================
   Pawsome Pet Sitting — Shared Stylesheet
   Brand: warm cream + caramel + deep brown (matches logo)
   =========================================================== */

:root {
  /* Brand palette */
  --cream:        #FBF5E9;
  --cream-deep:   #F4E6CD;
  --sand:         #EAD4AE;
  --bone:         #E7C9A0;
  --caramel:      #C97B3C;
  --caramel-dk:   #B0652C;
  --terracotta:   #C25E3A;
  --brown:        #5E3D23;
  --brown-soft:   #7A5A3E;
  --sage:         #87A06E;
  --sage-dk:      #6E8657;
  --ink:          #3D2C1E;
  --white:        #ffffff;

  /* Functional */
  --bg:           var(--cream);
  --text:         #4A3826;
  --heading:      var(--brown);
  --shadow-sm:    0 2px 10px rgba(94, 61, 35, 0.08);
  --shadow-md:    0 14px 40px rgba(94, 61, 35, 0.12);
  --shadow-lg:    0 24px 60px rgba(94, 61, 35, 0.18);
  --radius:       18px;
  --radius-lg:    28px;
  --maxw:         1180px;
  --ease:         cubic-bezier(.22,.61,.36,1);

  --font-head: 'Baloo 2', 'Trebuchet MS', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.15;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.section { padding: 92px 0; }
.section-sm { padding: 64px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: .82rem;
  color: var(--caramel-dk);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 16px;
}

.section-lead {
  font-size: 1.12rem;
  color: var(--brown-soft);
  max-width: 640px;
}

.text-center { text-align: center; }
.center-block { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 15px 32px;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--caramel);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(201, 123, 60, 0.35);
}
.btn-primary:hover {
  background: var(--caramel-dk);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(201, 123, 60, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--brown);
  border-color: var(--bone);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--caramel);
  transform: translateY(-3px);
}
.btn-light {
  background: var(--white);
  color: var(--caramel-dk);
  box-shadow: var(--shadow-sm);
}
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 245, 233, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 123, 60, 0.16);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.32rem;
  color: var(--brown);
}
.brand img { height: 46px; width: auto; }
.brand .paw { color: var(--caramel); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text small {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--caramel-dk);
  margin-top: 4px;
}
.logo-card { text-align: center; max-width: 100%; }
.logo-card img { max-width: 60%; height: auto; }
.logo-card-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--brown);
  margin-top: 8px;
  line-height: 1;
}
.logo-card-word span {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--caramel-dk);
  margin-top: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--brown-soft);
  padding: 9px 16px;
  border-radius: 30px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--brown); background: rgba(234, 212, 174, 0.5); }
.nav-links a.active { color: var(--caramel-dk); background: rgba(234, 212, 174, 0.7); }
.nav-links .btn { color: var(--white); padding: 11px 24px; font-size: .98rem; }
.nav-links .btn:hover { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 3px;
  background: var(--brown);
  border-radius: 3px;
  transition: .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(234, 212, 174, 0.55), transparent 60%),
    radial-gradient(800px 480px at 8% 110%, rgba(135, 160, 110, 0.18), transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero-paws {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(circle, rgba(201,123,60,.10) 2px, transparent 3px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, transparent, black 30%, black 70%, transparent);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  padding: 84px 0 96px;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.2vw, 4rem);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--caramel); }
.hero-sub {
  font-size: 1.2rem;
  color: var(--brown-soft);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 34px;
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  color: var(--brown-soft);
  font-weight: 600;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }

.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-art .logo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  border: 1px solid rgba(201,123,60,.12);
}
.hero-art .logo-card img { border-radius: 16px; }
.hero-badge {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--brown);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
}
.hero-badge .big { font-size: 1.5rem; }
.hero-badge.b1 { top: -18px; left: -10px; }
.hero-badge.b2 { bottom: -20px; right: -6px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--brown); color: var(--cream); }
.trustbar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 44px;
  padding-bottom: 44px;
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--sand);
  line-height: 1;
}
.stat .label { margin-top: 8px; font-weight: 600; opacity: .9; }

/* ---------- Section header ---------- */
.sec-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,123,60,.10);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--cream-deep);
  font-size: 1.9rem;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.card p { color: var(--brown-soft); }

/* alternating section background */
.bg-sand { background:
    radial-gradient(700px 380px at 90% 0%, rgba(234,212,174,.5), transparent 60%),
    var(--cream); }
.bg-white { background: #FFFDF8; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 12px; }
.step-num {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--caramel);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  box-shadow: 0 10px 22px rgba(201,123,60,.32);
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--brown-soft); font-size: .98rem; }
.steps .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 32px; left: calc(50% + 42px);
  width: calc(100% - 84px); height: 3px;
  background: repeating-linear-gradient(90deg, var(--sand) 0 8px, transparent 8px 16px);
}

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-photo { position: relative; }
.split-photo .tag {
  position: absolute; bottom: 22px; left: 22px;
  background: var(--white);
  padding: 14px 20px; border-radius: 16px;
  box-shadow: var(--shadow-md);
  font-family: var(--font-head); font-weight: 700; color: var(--brown);
}
.checklist { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.05rem; }
.checklist .tick {
  flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--sage); color: #fff;
  display: grid; place-items: center; font-size: .85rem; font-weight: 700;
  margin-top: 3px;
}

/* ---------- Badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge {
  background: var(--cream-deep);
  color: var(--brown);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  padding: 8px 16px;
  border-radius: 30px;
  border: 1px solid rgba(201,123,60,.18);
}

/* ---------- Testimonials ---------- */
.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,123,60,.10);
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quote-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote-card::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 4.5rem;
  color: var(--sand);
  position: absolute; top: 6px; right: 26px; line-height: 1;
}
.quote-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.quote-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--cream-deep);
  display: grid; place-items: center; font-size: 2rem;
  border: 2px solid var(--sand);
}
.quote-head h4 { font-size: 1.25rem; margin-bottom: 2px; }
.quote-head .role { color: var(--brown-soft); font-size: .92rem; font-style: italic; }
.quote-card p { color: #574330; }
.stars { color: var(--caramel); letter-spacing: 2px; margin-bottom: 8px; }
mark {
  background: linear-gradient(120deg, rgba(201,123,60,.22), rgba(201,123,60,.06));
  color: var(--brown); padding: 0 3px; border-radius: 4px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(900px 420px at 80% -20%, rgba(234,212,174,.6), transparent 60%),
    var(--cream);
  text-align: center;
  padding: 72px 0 64px;
}
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.4rem); margin-bottom: 14px; }
.page-hero p { font-size: 1.15rem; color: var(--brown-soft); max-width: 620px; margin: 0 auto; }
.crumb { color: var(--caramel-dk); font-weight: 600; font-family: var(--font-head); margin-bottom: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(600px 300px at 15% 20%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(135deg, var(--caramel) 0%, var(--terracotta) 100%);
  color: #fff;
  text-align: center;
  border-radius: var(--radius-lg);
  padding: 64px 32px;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.92); font-size: 1.15rem; max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-light { color: var(--caramel-dk); }

/* ---------- About profile ---------- */
.profile {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid rgba(201,123,60,.12);
}
.profile-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 20px;
}
.profile h3 { font-size: 1.7rem; }
.profile .muted { color: var(--brown-soft); }

.prose p { margin-bottom: 18px; font-size: 1.08rem; }
.prose mark { font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(201,123,60,.14);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--brown);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; color: var(--caramel); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--brown-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,123,60,.10);
  margin-bottom: 20px;
}
.info-card h3 { font-size: 1.3rem; margin-bottom: 6px; display:flex; align-items:center; gap:10px; }
.info-card a { color: var(--caramel-dk); font-weight: 700; word-break: break-word; }
.info-card a:hover { text-decoration: underline; }

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201,123,60,.12);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--brown); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--cream-deep);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--cream);
  color: var(--text);
  transition: border .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--caramel);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(201,123,60,.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-success {
  background: linear-gradient(135deg, var(--sage), var(--sage-dk));
  color: #fff; border-radius: var(--radius); padding: 34px; text-align: center;
}
.form-success h3 { color: #fff; margin-bottom: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brown); color: #E9D9C4; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: var(--cream); margin-bottom: 14px; }
.site-footer p { color: #D8C3A8; max-width: 320px; }
.footer-col h4 { color: var(--sand); font-size: 1.1rem; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: #E0CDB2; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  color: #C3AC8C; font-size: .92rem;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; padding: 56px 0 72px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-art { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps .step::after { display: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-photo { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--cream);
    padding: 18px 24px 26px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(201,123,60,.2);
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; font-size: 1.08rem; }
  .nav-links .btn { justify-content: center; margin-top: 6px; }

  .section { padding: 64px 0; }
  .trustbar .container { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero-cta { justify-content: center; }
  .hero-trust { justify-content: center; }
}

@media (max-width: 540px) {
  .container { padding: 0 18px; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .card, .form-card { padding: 26px 22px; }
  .hero-badge { display: none; }
  .cta-band { padding: 48px 22px; }
}
