:root {
  /* Fluffmates brand: cream, taupe brown and the pink-tan paw from the logo */
  --sand-50: #f8f1e5;
  --sand-100: #efe4d1;
  --sand-200: #e2d3bb;
  --primary: #806858;
  --primary-dark: #685446;
  --accent: #a8776a;
  --paw: #d2a596;
  --cocoa: #5e4b40;
  --ink: #4a3a31;
  --muted: #7b6a5f;
  --white: #ffffff;
  --header-h: 108px;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(74, 47, 26, 0.10);
  --font-display: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 112.5%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

.eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6em;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  padding: .85em 1.5em;
  border-radius: 999px;
  border: 2px solid var(--primary);
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  transition: background .2s, transform .2s, border-color .2s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-small { padding: .55em 1.1em; font-size: .9rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 249, 243, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sand-200);
  transition: transform .3s ease;
}
.site-header.header-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo {
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.4rem;
  letter-spacing: -.01em;
  color: #8c7566;
  text-decoration: none;
  line-height: 1;
}
.logo-text { padding-top: 16px; }
.logo-paw { width: 62px; height: 62px; flex-shrink: 0; }
.site-footer .logo { font-size: 2.2rem; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--primary); }
.nav-links .btn { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
/* The banner is its own block: a deeper beige with rounded bottom corners. A custom colour or photo
   from Admin → Settings replaces the background inside this same shape. */
.hero {
  padding: 72px 0 88px;
  overflow: hidden;
  background: var(--sand-100);
  border-radius: 0 0 48px 48px;
  box-shadow: inset 0 -1px 0 var(--sand-200);
}
.hero-custom { padding: 96px 0 104px; }
/* Banner photo: a cream fade behind the text on the left that clears towards the right */
.hero-photo-bg {
  --veil: 248, 241, 229;
  background:
    linear-gradient(90deg,
      rgba(var(--veil), var(--hero-fade)) 0%,
      rgba(var(--veil), var(--hero-fade)) 30%,
      rgba(var(--veil), calc(var(--hero-fade) * .55)) 50%,
      rgba(var(--veil), 0) 72%),
    var(--hero-photo) center / cover no-repeat;
}
/* Text sits on a frosted cream panel so it stays readable over any photo */
.hero-photo-bg .hero-copy {
  background: rgba(253, 249, 243, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 40px 44px;
  border-radius: 28px;
  box-shadow: 0 12px 40px rgba(74, 47, 26, .18);
}
.hero-photo-bg .lead { color: var(--ink); }
.hero-photo-bg .hero-points { color: var(--ink); }
.hero-photo-bg .btn-ghost { background: var(--white); }
.hero-photo-bg .btn-ghost:hover { background: var(--accent); color: var(--white); }
@media (max-width: 560px) {
  .hero-photo-bg .hero-copy { padding: 26px 22px; border-radius: 22px; }
}
@media (max-width: 820px) {
  /* On phones the text spans the full width, so fade evenly */
  .hero-photo-bg {
    background:
      linear-gradient(rgba(var(--veil), var(--hero-fade)), rgba(var(--veil), var(--hero-fade))),
      var(--hero-photo) center / cover no-repeat;
  }
}
.hero-no-art .hero-grid { grid-template-columns: minmax(0, 720px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--accent); display: block; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-weight: 500; }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }

.hero-art {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 32px;
  background: linear-gradient(180deg, #f6eadb 0%, #ecd9c4 55%, #e2c7b0 100%);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-art-photo { background: var(--sand-200); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sun {
  position: absolute;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fffaf2;
  top: 14%;
  right: 16%;
  box-shadow: 0 0 80px 20px rgba(255, 240, 215, .7);
}
.dune { position: absolute; border-radius: 50%; }
.dune-1 { width: 140%; height: 60%; left: -30%; bottom: -28%; background: #d9bca6; }
.dune-2 { width: 120%; height: 55%; right: -40%; bottom: -32%; background: var(--paw); }

.hero-card {
  position: absolute;
  left: 8%;
  bottom: 22%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.hero-card-2 { left: auto; right: 8%; bottom: 8%; animation-delay: -3s; }
.hero-card strong { display: block; font-size: .95rem; }
.hero-card small { color: var(--muted); }
.hero-card-emoji { font-size: 1.8rem; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--sand-100); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-sub { color: var(--muted); }

/* Service cards */
/* auto-fit so the row stays full however many services the admin shows */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card p { color: var(--muted); margin: 0; }
.card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 1.8rem;
  border-radius: 14px;
  background: var(--sand-100);
  margin-bottom: 18px;
}

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: none; }
.steps li { text-align: center; padding: 0 12px; }
.steps p { color: var(--muted); }
.step-num {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; align-items: stretch; }
.price-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.price { font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; margin: 0; color: var(--accent); }
.price span { font-size: 1rem; font-weight: 600; color: var(--muted); font-family: var(--font-body); }
.price-note { color: var(--muted); font-size: .9rem; }
.price-card ul { list-style: none; padding: 0; margin: 8px 0 20px; flex: 1; }
.price-card li { padding: 6px 0; border-top: 1px dashed var(--sand-200); }
.price-card li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }
.price-alt { font-size: .9rem; font-weight: 600; color: var(--primary-dark); margin: 0; }

/* Areas */
.areas-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.areas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.areas li {
  background: var(--white);
  border: 1px solid var(--sand-200);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
}

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust > div { border-top: 3px solid var(--primary); padding-top: 18px; }
.trust p { color: var(--muted); margin: 0; }

/* FAQ */
details {
  background: var(--white);
  border-radius: 14px;
  padding: 0 24px;
  margin-bottom: 12px;
  border: 1px solid var(--sand-200);
}
summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 20px 32px 20px 0;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary);
  transition: transform .2s;
}
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Booking */
.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.book-intro p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-list li { padding: 12px 0; border-top: 1px solid var(--sand-200); display: flex; gap: 16px; }
.contact-list strong { min-width: 90px; }

.booking-form {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.booking-form label { display: grid; gap: 6px; font-weight: 500; font-size: .92rem; }
.booking-form small { color: var(--muted); font-weight: 400; }
.booking-form input,
.booking-form select,
.booking-form textarea {
  font: inherit;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid var(--sand-200);
  border-radius: 10px;
  background: var(--sand-50);
  color: var(--ink);
  width: 100%;
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}
.booking-form .invalid { border-color: #c0392b; background: #fdf1ef; }
.form-error { color: #c0392b; font-weight: 500; margin: 0; }

/* Footer */
.site-footer { background: var(--cocoa); color: #efe4d6; padding: 48px 0 32px; }
.site-footer .logo { color: var(--white); }
.site-footer a { color: #efe4d6; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.footer-grid nav { display: flex; gap: 24px; flex-wrap: wrap; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; margin: 8px 0 0; font-size: .9rem; }

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  z-index: 60;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 1000px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .pricing { row-gap: 32px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--sand-50);
    border-bottom: 1px solid var(--sand-200);
    padding: 8px 16px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--sand-200); }
  .nav-links .btn { margin-top: 14px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 40px 0 64px; }
  .hero-grid, .areas-grid, .book-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 460px; width: 100%; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .trust, .field-row { grid-template-columns: 1fr; }
  .booking-form { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 10px 14px; }
  .hero-card strong { font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
  html { scroll-behavior: auto; }
  .hero-card { animation: none; }
  .card, .btn, .wa-float { transition: none; }
}
