/* =========================================================
   Crate Escape — Day Care & Boarding (Bolton, UK)
   Static mockup styles. Pure CSS, no framework.
   ========================================================= */

:root {
  /* Brand palette — derived from the Crate Escape logo */
  --navy: #143E6B;
  --navy-dark: #0E2D52;
  --coral: #F37A2C;
  --coral-dark: #D85F1A;
  --sun: #FFC857;
  --cream: #FFF6EA;
  --sand: #F8E9D0;
  --ink: #0E2238;
  --slate: #4B5E78;
  --muted: #8898AE;
  --white: #FFFFFF;

  /* Semantic foreground */
  --fg-1: var(--ink);
  --fg-2: var(--slate);
  --fg-3: var(--muted);
  --fg-inverse: var(--white);

  /* Semantic background */
  --bg-page: var(--cream);
  --bg-surface: var(--white);
  --bg-tinted: var(--sand);
  --bg-dark: var(--navy);

  /* Semantic accent */
  --accent-primary: var(--coral);
  --accent-primary-2: var(--coral-dark);
  --accent-brand: var(--navy);
  --accent-brand-2: var(--navy-dark);
  --accent-warm: var(--sun);

  /* Borders */
  --border-subtle: rgba(20, 62, 107, 0.08);
  --border-default: rgba(20, 62, 107, 0.14);
  --border-strong: var(--navy);

  /* Type */
  --font-sans: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Poppins", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-w: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(20, 62, 107, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 62, 107, 0.10);
  --shadow-lg: 0 24px 48px rgba(20, 62, 107, 0.18);
  --shadow-cta-coral: 0 6px 16px rgba(243, 122, 44, 0.35);
  --shadow-cta-coral-hover: 0 10px 22px rgba(243, 122, 44, 0.45);
  --shadow-cta-navy: 0 16px 36px rgba(20, 62, 107, 0.40);

  /* Motion */
  --ease-standard: ease;
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-quick: 0.15s;
  --dur-base: 0.20s;
  --dur-slow: 0.25s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--coral-dark); }
button { font: inherit; cursor: pointer; border: 0; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1em; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-cta-coral);
}
.btn-primary:hover {
  background: var(--coral-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta-coral-hover);
}
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-secondary:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-ghost {
  color: var(--navy);
  padding: 10px 18px;
}
.btn-ghost:hover { color: var(--coral-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 246, 234, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(20, 62, 107, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  font-family: var(--font-display);
}
.brand:hover { color: var(--coral-dark); }
.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}
.brand-mark {
  width: 96px;
  height: 96px;
  display: block;
  object-fit: contain;
  margin-bottom: 14px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--coral-dark); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 200, 87, 0.30), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(243, 122, 44, 0.20), transparent 55%),
    var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
}
.hero h1 .accent { color: var(--coral); }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 520px;
  margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  font-size: 0.9rem;
  color: var(--slate);
  flex-wrap: wrap;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-trust .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--navy);
}

.hero-image {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand), var(--sun));
  box-shadow: var(--shadow-lg);
}
.hero-image > .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-logo-mark {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--white);
  padding: 4px;
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  z-index: 2;
}
.hero-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

/* Trust badge tiles below hero copy */
.trust-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.trust-tile {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}
.trust-tile .icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(20, 62, 107, 0.08);
  color: var(--navy);
  display: grid; place-items: center;
  font-size: 1.05rem;
  margin: 0 auto 10px;
}
.trust-tile span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

/* ---------- Section base ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--coral-dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-head p { color: var(--slate); font-size: 1.05rem; }

/* ---------- Services ---------- */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(20, 62, 107, 0.04);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--navy);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.service-card:nth-child(2) .service-icon { background: var(--coral); }
.service-card:nth-child(3) .service-icon { background: var(--sun); color: var(--navy); }
.service-card:nth-child(4) .service-icon { background: var(--navy-dark); }

.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--slate); font-size: 0.95rem; margin-bottom: 16px; }
.service-actions {
  display: grid;
  gap: 6px;
  align-items: start;
}
.service-supplement {
  display: inline-block;
  margin: -4px 0 0;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
}
.service-supplement:hover { color: var(--coral-dark); }
.service-card .price {
  display: inline-block;
  font-weight: 700;
  color: var(--coral-dark);
  font-size: 1rem;
}

/* ---------- About ---------- */
.about { background: var(--sand); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-image {
  position: relative;
  aspect-ratio: 5 / 6;
  min-height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--sun), var(--coral));
  box-shadow: var(--shadow-lg);
}
.about-image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}
.about li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--ink);
}
.about li::before {
  content: "✓";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 2px;
}

/* ---------- Gallery ---------- */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
  background: linear-gradient(135deg, var(--navy), var(--sun));
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-item span {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(20, 62, 107, 0.82);
  color: var(--white);
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  z-index: 1;
}
.gallery-cta {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.gallery-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 200, 87, 0.3), transparent 60%);
  pointer-events: none;
}
.gallery-cta .cta-content { position: relative; z-index: 1; }
.gallery-cta strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 14px;
  line-height: 1.3;
  font-weight: 700;
}
.gallery-cta .cta-link {
  display: inline-block;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 3px;
}
.gallery-cta:hover { transform: scale(1.02); }
.gallery-cta:hover .cta-link { border-bottom-color: var(--white); }

/* ---------- Brand-mockup image treatment ---------- */
/* Use on .hero-image / .about-image / .gallery-item containing
   a brand graphic (phone/poster) rather than a photo, so the
   asset shows in full on the gradient background. */
.hero-image.is-mockup > .hero-photo,
.about-image.is-mockup > img,
.gallery-item.is-mockup > img {
  object-fit: contain;
  padding: 8px;
}

/* ---------- Hero brand mark (large logo as hero visual) ---------- */
.hero-image.hero-brand {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 200, 87, 0.55), transparent 65%),
    linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%);
}
.hero-image.hero-brand > .hero-photo {
  object-fit: contain;
  padding: 24px;
  filter: drop-shadow(0 12px 24px rgba(20, 62, 107, 0.18));
}

/* ---------- App preview ---------- */
.app-preview { background: var(--sand); }
.app-grid {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 420px;
}
.app-cta { text-align: center; margin-top: 32px; }
@media (max-width: 960px) {
  .app-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 360px; }
}
@media (max-width: 640px) {
  .app-grid { grid-template-columns: 1fr; grid-auto-rows: 380px; }
}

/* ---------- Lightbox ---------- */
.gallery-item:not(.gallery-cta) > img { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 34, 56, 0.94);
  display: none;
  place-items: center;
  z-index: 200;
  padding: 32px;
  animation: lbFade 0.2s ease;
}
.lightbox.open { display: grid; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  background: var(--bg-page);
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: rgba(20, 62, 107, 0.82);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.01em;
  max-width: 80vw;
  text-align: center;
}

.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--dur-quick) var(--ease-standard), transform var(--dur-quick) var(--ease-standard);
  backdrop-filter: blur(6px);
}
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.3); transform: scale(1.05); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 640px) {
  .lightbox-btn { width: 44px; height: 44px; font-size: 1.3rem; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-caption { bottom: 14px; font-size: 0.82rem; }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--cream); }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial .stars { color: var(--sun); font-size: 1.05rem; letter-spacing: 0.1em; }
.testimonial blockquote {
  margin: 0;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.65;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--slate);
  font-weight: 600;
}
.testimonial cite::before { content: "— "; }

/* ---------- FAQ ---------- */
.faq { background: var(--white); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.faq-card {
  background: var(--cream);
  border: 1px solid rgba(20, 62, 107, 0.06);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.faq-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--navy);
}
.faq-card p {
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 200, 87, 0.25), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(243, 122, 44, 0.30), transparent 40%);
  pointer-events: none;
}
.cta-strip .container { position: relative; }
.cta-strip h2 { color: var(--white); margin-bottom: 12px; }
.cta-strip p { color: rgba(255, 255, 255, 0.9); margin-bottom: 28px; font-size: 1.1rem; }
.cta-strip .btn-primary { background: var(--coral); }
.cta-strip .btn-secondary { background: transparent; color: var(--white); border-color: var(--white); }
.cta-strip .btn-secondary:hover { background: var(--white); color: var(--navy); }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 24px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
footer a { color: rgba(255, 255, 255, 0.78); }
footer a:hover { color: var(--sun); }
footer .brand { color: var(--white); margin-bottom: 14px; }
footer p { color: rgba(255, 255, 255, 0.68); }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.58);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { aspect-ratio: 3 / 2; margin-top: 16px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-tiles { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 48px 0 64px; }
  .nav-links { display: none; }
  .menu-btn {
    display: grid;
    place-items: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(20, 62, 107, 0.06);
  }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-primary { display: none; }
  .trust-tiles { grid-template-columns: repeat(2, 1fr); }
  .brand { font-size: 1.1rem; }
  .brand-logo { width: 36px; height: 36px; }
}

/* =========================================================
   Booking page
   ========================================================= */
.booking-hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 200, 87, 0.4), transparent 55%),
    radial-gradient(circle at 10% 90%, rgba(243, 122, 44, 0.20), transparent 55%),
    var(--cream);
  padding: 64px 0 32px;
  text-align: center;
}
.booking-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.booking-hero p { color: var(--slate); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }

.booking-section { padding: 40px 0 100px; background: var(--cream); }

.steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  list-style: none;
  margin: 0 auto 40px;
  padding: 0;
  max-width: 720px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: rgba(20, 62, 107, 0.1);
  z-index: 0;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  flex: 1;
}
.step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(20, 62, 107, 0.12);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}
.step.active { color: var(--ink); }
.step.active .step-num {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-cta-coral);
}
.step.done .step-num {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.step-panel {
  display: none;
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.step-panel.active { display: block; animation: fadeIn 0.25s ease; }
.step-panel h2 { text-align: center; margin-bottom: 28px; font-size: 1.6rem; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.option-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}
.option { cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option .opt-card {
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s ease;
  height: 100%;
}
.option:hover .opt-card { background: var(--sand); }
.option input:checked + .opt-card {
  border-color: var(--navy);
  background: rgba(20, 62, 107, 0.08);
  box-shadow: 0 4px 12px rgba(20, 62, 107, 0.12);
}
.opt-icon {
  width: 44px; height: 44px;
  background: var(--navy); color: var(--white);
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.option:nth-child(1) .opt-icon { background: var(--sun); color: var(--navy); }
.option:nth-child(2) .opt-icon { background: var(--coral); }
.option:nth-child(3) .opt-icon { background: var(--white); color: var(--navy); border: 1px solid rgba(20, 62, 107, 0.16); }
.option:nth-child(4) .opt-icon { background: var(--navy-dark); }
.opt-card h3 { margin: 0 0 4px; font-size: 1rem; }
.opt-card p { margin: 0 0 8px; font-size: 0.85rem; color: var(--slate); }
.opt-price { color: var(--coral-dark); font-weight: 700; font-size: 0.9rem; }

/* Calendar */
.calendar { margin-bottom: 24px; }
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.cal-head h3 { margin: 0; font-size: 1rem; font-weight: 600; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--cream);
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 600;
  transition: background 0.15s ease;
}
.cal-nav button:hover { background: var(--sand); }
.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-dow {
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cal-day {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 2px solid transparent;
  color: var(--ink);
}
.cal-day:hover { background: var(--sand); }
.cal-day.muted {
  color: rgba(20, 62, 107, 0.25);
  cursor: default;
  background: transparent;
}
.cal-day.muted:hover { background: transparent; }
.cal-day.selected {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
  box-shadow: 0 4px 12px rgba(243, 122, 44, 0.4);
}

.time-slots {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 20px;
}
.time-slot {
  padding: 14px 10px;
  border-radius: 12px;
  background: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: all 0.15s ease;
  color: var(--ink);
}
.time-slot:hover { background: var(--sand); }
.time-slot.selected {
  background: var(--white);
  border-color: var(--navy);
  color: var(--navy);
  box-shadow: 0 4px 12px rgba(20, 62, 107, 0.18);
}

/* Forms */
.form-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: span 2; }
.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(20, 62, 107, 0.12);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(20, 62, 107, 0.12);
}
.field textarea { resize: vertical; min-height: 90px; font-family: inherit; }
.field-checkbox {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 10px 0;
}
.field-checkbox input { width: 18px; height: 18px; accent-color: var(--navy); }

.postcode-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}
.postcode-btn {
  padding: 0 16px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}
.postcode-btn:hover {
  background: var(--navy-dark);
}
.postcode-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}
.postcode-feedback {
  color: var(--slate);
  font-size: 0.8rem;
  line-height: 1.4;
}
.postcode-feedback.success { color: #14532D; }
.postcode-feedback.warning { color: #9A5B00; }
.postcode-feedback.error { color: #943A16; }
.field select[hidden] { display: none; }
#owner-address-select {
  margin-bottom: 8px;
  background: var(--white);
}
.payment-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(20, 62, 107, 0.14);
  background: var(--cream);
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 600;
}
.payment-note[hidden] { display: none; }

.btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.booking-alert {
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  font-weight: 600;
}
.booking-alert.error {
  background: #FDECE8;
  border: 1px solid rgba(216, 95, 26, 0.24);
  color: #943A16;
}
.booking-alert.success {
  background: #EAF7EF;
  border: 1px solid rgba(20, 107, 61, 0.22);
  color: #14532D;
}

.slot-feedback {
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--cream);
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 600;
}
.slot-feedback.success {
  background: #EAF7EF;
  color: #14532D;
}
.slot-feedback.error {
  background: #FDECE8;
  color: #943A16;
}
.slot-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.slot-option {
  display: grid;
  gap: 3px;
  padding: 12px 10px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: var(--cream);
  color: var(--ink);
  text-align: center;
}
.slot-option:hover {
  border-color: rgba(20, 62, 107, 0.18);
  background: var(--sand);
}
.slot-option.selected {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 4px 12px rgba(20, 62, 107, 0.14);
}
.slot-option.full {
  color: rgba(75, 94, 120, 0.75);
  background: rgba(248, 233, 208, 0.5);
  cursor: not-allowed;
}
.slot-option strong {
  color: var(--navy);
  font-size: 0.8rem;
}
.slot-option.full strong { color: #943A16; }

/* Summary */
.summary {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 28px;
}
.summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(20, 62, 107, 0.06);
  font-size: 0.95rem;
  gap: 16px;
}
.summary-row:last-child { border-bottom: 0; }
.summary-row span { color: var(--slate); }
.summary-row strong { color: var(--ink); text-align: right; }
.summary-row.total {
  font-size: 1.2rem;
  padding-top: 18px;
  margin-top: 8px;
  border-top: 2px solid rgba(20, 62, 107, 0.12);
  border-bottom: 0;
}
.summary-row.total strong { color: var(--coral-dark); }

.payment-options { margin-bottom: 0; }
.payment-options .opt-card { padding: 16px; display: flex; align-items: center; gap: 12px; }
.pay-logo {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--white);
  display: grid; place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  border: 1px solid rgba(20, 62, 107, 0.08);
}
.pay-logo.card  { background: linear-gradient(135deg, #1A1F71, #2E77BC); color: var(--white); font-size: 0.7rem; }
.pay-logo.bank  { background: linear-gradient(135deg, #143E6B, #0E2D52); color: var(--white); }
.pay-logo.cash  { background: var(--sand); }
.payment-options strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.payment-options p { margin: 0; font-size: 0.82rem; color: var(--slate); }

.step-nav {
  display: flex; justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}
.step-nav .btn { flex: 1; justify-content: center; max-width: 220px; }
.step-nav .back-btn { max-width: 120px; }

.success-card {
  text-align: center;
  padding: 32px 0 16px;
}
.success-icon {
  width: 96px; height: 96px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2.6rem;
  box-shadow: var(--shadow-cta-navy);
  animation: pop 0.4s var(--ease-pop);
}
@keyframes pop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.success-card h2 { margin-bottom: 12px; }
.success-card p { color: var(--slate); max-width: 420px; margin: 0 auto 24px; }

@media (max-width: 720px) {
  .step-panel { padding: 28px 20px; }
  .option-grid, .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .time-slots { grid-template-columns: repeat(3, 1fr); }
  .slot-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step span:not(.step-num) { display: none; }
  .steps::before { left: 12%; right: 12%; }
}

/* ---------- Admin calendar ---------- */
.admin-page {
  padding: 56px 0 96px;
  background: var(--cream);
  min-height: calc(100vh - 84px);
}
.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}
.admin-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 4px 0 0;
}
.admin-login {
  display: flex;
  align-items: end;
  gap: 10px;
}
.admin-login label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--slate);
  font-size: 0.85rem;
  font-weight: 600;
}
.admin-login input {
  width: 160px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(20, 62, 107, 0.14);
  background: var(--white);
  color: var(--ink);
  font: inherit;
}
.admin-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}
.admin-calendar-panel,
.admin-day-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(20, 62, 107, 0.08);
}
.admin-calendar-panel { padding: 22px; }
.admin-day-panel {
  padding: 22px;
  position: sticky;
  top: 104px;
}
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.admin-toolbar h2,
.admin-day-panel h2 {
  margin: 0;
  font-size: 1.35rem;
}
.cal-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 800;
}
.cal-nav-btn:hover {
  background: var(--navy);
  color: var(--white);
}
.admin-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.admin-dow {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  padding: 4px 0;
}
.admin-day {
  min-height: 112px;
  border-radius: 10px;
  padding: 10px;
  background: var(--cream);
  border: 2px solid transparent;
  color: var(--ink);
  text-align: left;
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  gap: 4px;
}
.admin-day:hover {
  border-color: rgba(20, 62, 107, 0.18);
  background: var(--sand);
}
.admin-day.selected {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(20, 62, 107, 0.14);
}
.admin-day.has-bookings { background: #EEF7F1; }
.admin-day.is-busy { background: #FDECE8; }
.admin-day.is-blocked {
  background: #FFF2EA;
  border-color: rgba(148, 58, 22, 0.28);
}
.admin-day.muted {
  background: transparent;
  cursor: default;
}
.admin-day-count {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
}
.admin-day-count:empty { display: none; }
.admin-day-bookings {
  grid-column: 1 / -1;
  display: grid;
  gap: 4px;
  margin-top: 4px;
}
.admin-day-bookings span,
.admin-day-bookings small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--slate);
  font-size: 0.72rem;
  font-weight: 600;
}
.admin-day-bookings .admin-block-badge {
  color: #943A16;
  font-weight: 800;
}
.admin-day-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}
.admin-export-btn {
  justify-self: start;
  padding: 8px 12px;
  font-size: 0.82rem;
}
.capacity-list {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}
.capacity-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--cream);
  color: var(--slate);
  font-size: 0.9rem;
}
.capacity-row strong { color: var(--navy); }
.capacity-row.full {
  background: #FDECE8;
  color: #943A16;
}
.capacity-row.full strong { color: #943A16; }
.admin-block-form {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 16px;
  border: 1px solid rgba(20, 62, 107, 0.10);
  border-radius: var(--radius-md);
  background: var(--cream);
}
.admin-block-form h3 {
  margin: 0 0 3px;
  font-size: 1rem;
}
.admin-block-form p {
  margin: 0;
  color: var(--slate);
  font-size: 0.86rem;
}
.admin-block-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-block-form input,
.admin-block-form select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid rgba(20, 62, 107, 0.14);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}
.admin-block-form .admin-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0;
}
.admin-block-form .admin-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
}
.admin-block-form .admin-check span {
  color: var(--slate);
  font-size: 0.88rem;
  font-weight: 700;
}
.admin-blocks {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.admin-blocks h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
}
.admin-block-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(148, 58, 22, 0.14);
  border-radius: 12px;
  background: #FFF2EA;
}
.admin-block-item div {
  display: grid;
  gap: 2px;
}
.admin-block-item strong {
  color: #943A16;
}
.admin-block-item span {
  color: var(--slate);
  font-size: 0.85rem;
}
.admin-remove-block {
  border: 0;
  background: transparent;
  color: #943A16;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
}
.admin-bookings {
  display: grid;
  gap: 14px;
}
.admin-booking {
  border: 1px solid rgba(20, 62, 107, 0.10);
  border-radius: 12px;
  padding: 16px;
  background: var(--white);
}
.admin-booking.status-cancelled {
  opacity: 0.72;
  background: #FBF6EF;
}
.admin-status-pill {
  display: inline-flex;
  margin: 0 0 8px 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EAF7EF;
  color: #14532D;
  font-size: 0.78rem;
  font-weight: 800;
}
.admin-booking.status-new .admin-status-pill {
  background: var(--cream);
  color: var(--navy);
}
.admin-booking.status-cancelled .admin-status-pill {
  background: #FDECE8;
  color: #943A16;
}
.admin-booking.status-completed .admin-status-pill {
  background: #E8EEF6;
  color: var(--navy-dark);
}
.admin-status-control {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.admin-status-control select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(20, 62, 107, 0.14);
  background: var(--cream);
  color: var(--ink);
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}
.admin-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.admin-payment-btn {
  padding: 8px 12px;
  font-size: 0.82rem;
}
.admin-booking-time {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
}
.admin-booking h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}
.admin-booking p {
  margin: 0 0 12px;
  color: var(--slate);
  font-size: 0.9rem;
}
.admin-booking dl {
  display: grid;
  gap: 8px;
  margin: 0;
}
.admin-booking dl div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 10px;
  font-size: 0.86rem;
}
.admin-booking dt {
  color: var(--muted);
  font-weight: 700;
}
.admin-booking dd {
  margin: 0;
  color: var(--ink);
  word-break: break-word;
}
.empty-state {
  margin: 0;
  padding: 18px;
  border-radius: 12px;
  background: var(--cream);
  color: var(--slate);
  text-align: center;
}

@media (max-width: 960px) {
  .admin-head,
  .admin-login {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-login input { width: 100%; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-day-panel { position: static; }
  .admin-day { min-height: 88px; }
}

@media (max-width: 640px) {
  .admin-page { padding: 36px 0 72px; }
  .admin-calendar-panel,
  .admin-day-panel { padding: 16px; }
  .admin-calendar { gap: 5px; }
  .admin-day {
    min-height: 64px;
    padding: 7px;
  }
  .admin-day-bookings { display: none; }
  .admin-booking dl div { grid-template-columns: 1fr; gap: 2px; }
}
