/* ============================================================
   FAR FILLIMORE CARE HOMES — REFERRAL DECK
   styles.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;1,400&family=Inter:wght@400;500&display=swap');

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* --- Page --- */
body {
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  padding: 24px;
}

/* ============================================================
   DECK SHELL
   ============================================================ */
.deck {
  width: 720px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slides-wrapper {
  width: 100%;
  position: relative;
}

.slide {
  display: none;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  min-height: 520px;
}

.slide.active {
  display: flex;
}

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */

/* Top band (slides 2–5) */
.top-band {
  background: #1e3d6b;
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.section-label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: #b0c8e0;
  text-transform: uppercase;
}

.slide-num {
  font-size: 10.5px;
  color: #4a6a96;
  letter-spacing: 0.06em;
}

/* Slide footer (slides 2–5) */
.slide-footer {
  background: #e8e2d8;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.footer-logo {
  font-family: 'Lora', serif;
  font-size: 12.5px;
  color: #1e3d6b;
}

.footer-url {
  font-size: 11px;
  color: #9a8a78;
}

/* Image placeholders */
.img-placeholder {
  background: #d4cec4;
  border: 1.5px dashed #b8ae9e;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.img-placeholder i {
  font-size: 26px;
  color: #9a8e7e;
}

.img-placeholder span {
  font-size: 10.5px;
  color: #7a6e60;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 0 16px;
  line-height: 1.55;
}

/* CTA button */
.cta-btn {
  background: #b05c3a;
  color: #fff5ee;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
  text-decoration: none;
}

.cta-btn:hover { background: #c46840; }
.cta-btn i { font-size: 15px; }

/* Value cards */
.values-row {
  display: flex;
  gap: 8px;
}

.val {
  flex: 1;
  background: #1e3d6b;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.val i { font-size: 17px; color: #7ab8e0; }
.val-label { font-size: 11.5px; font-weight: 500; color: #f0ede6; }
.val-desc { font-size: 11px; color: #9ab8d8; line-height: 1.35; }

/* Pull quote */
.quote-block {
  border-left: 3px solid #b05c3a;
  padding: 10px 0 10px 16px;
}

.quote-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 13.5px;
  color: #3e3628;
  line-height: 1.6;
  margin-bottom: 5px;
}

.quote-attr {
  font-size: 11px;
  color: #8a7a68;
}

/* Body copy */
.body-text {
  font-size: 12.5px;
  color: #5a5248;
  line-height: 1.72;
}

.intro-text {
  font-size: 12px;
  color: #6a6058;
  line-height: 1.55;
}

/* ============================================================
   SLIDE 1 — HERO / COVER
   ============================================================ */
.slide--hero {
  position: relative;
  background: #2a4470;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  border: 1px dashed rgba(255,255,255,0.18);
  padding: 7px 14px;
  border-radius: 4px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30,38,30,0.62) 0%, rgba(20,28,20,0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-top-bar {
  padding: 22px 32px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.logo-name {
  font-family: 'Lora', serif;
  font-size: 17px;
  font-weight: 500;
  color: #f5f0e8;
  letter-spacing: 0.02em;
}

.logo-tagline {
  font-size: 11px;
  color: #b8ceb4;
  letter-spacing: 0.07em;
  margin-top: 3px;
}

.cqc-badge {
  background: rgba(255,255,255,0.12);
  border: 0.5px solid rgba(255,255,255,0.28);
  border-radius: 8px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cqc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ec98a;
  flex-shrink: 0;
}

.cqc-badge span {
  font-size: 11px;
  color: #d0e8cc;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.hero-centre {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 48px 20px;
  gap: 14px;
}

.hero-headline {
  font-family: 'Lora', serif;
  font-size: 42px;
  font-weight: 400;
  color: #f5f0e8;
  line-height: 1.18;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.hero-sub {
  font-size: 15px;
  color: #c8d8c4;
  line-height: 1.65;
  max-width: 460px;
}

.stats-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-pill {
  background: rgba(255,255,255,0.12);
  border: 0.5px solid rgba(255,255,255,0.22);
  border-radius: 99px;
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stat-pill i { font-size: 15px; color: #7ab8e0; }
.stat-pill span { font-size: 12.5px; color: #e8ede6; white-space: nowrap; }

.hero-footer {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.32);
  border-top: 0.5px solid rgba(255,255,255,0.1);
  padding: 12px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-footer-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #a0b49e;
}

.hero-footer-item i { font-size: 13px; color: #6a8e68; }
.hero-footer-div { color: #2a3e64; }

/* ============================================================
   SLIDE 2 — ABOUT US
   ============================================================ */
.slide--light { background: #f5f0e8; }

.s2-body {
  flex: 1;
  display: flex;
  gap: 0;
}

.s2-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px 32px;
  gap: 16px;
}

.s2-headline {
  font-family: 'Lora', serif;
  font-size: 26px;
  font-weight: 400;
  color: #2e2a22;
  line-height: 1.22;
}

.s2-copy {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.s2-right {
  width: 220px;
  flex-shrink: 0;
  padding: 20px 24px 20px 0;
  display: flex;
}

/* ============================================================
   SLIDE 3 — OUR SERVICES
   ============================================================ */
.s3-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 32px 16px;
  gap: 14px;
}

.s3-intro { display: flex; flex-direction: column; gap: 4px; }

.s3-headline {
  font-family: 'Lora', serif;
  font-size: 24px;
  font-weight: 400;
  color: #2e2a22;
  line-height: 1.2;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 1;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 0.5px solid #ddd8ce;
  display: flex;
  flex-direction: column;
}

.service-card-img {
  height: 68px;
  background: #d4cec4;
  border-bottom: 1.5px dashed #c0b8ae;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.service-card-img i { font-size: 16px; color: #9a8e7e; }
.service-card-img span { font-size: 10px; color: #8a7e6e; letter-spacing: 0.05em; }

.service-card-body {
  padding: 11px 13px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.service-card-header { display: flex; align-items: center; gap: 8px; }
.service-card-icon { font-size: 17px; color: #1e3d6b; }
.service-card-title { font-size: 13px; font-weight: 500; color: #2e2a22; }
.service-card-desc { font-size: 11.5px; color: #6a6058; line-height: 1.55; }

.closing-note {
  background: #1e3d6b;
  border-radius: 8px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.closing-note i { font-size: 16px; color: #7ab8e0; flex-shrink: 0; }
.closing-note span { font-size: 12px; color: #d4e4d0; line-height: 1.5; }

/* ============================================================
   SLIDE 4 — REFERRAL PROCESS
   ============================================================ */
.s4-body {
  flex: 1;
  display: flex;
  gap: 24px;
  padding: 20px 32px 16px;
}

.s4-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.s4-headline {
  font-family: 'Lora', serif;
  font-size: 23px;
  font-weight: 400;
  color: #2e2a22;
  line-height: 1.2;
}

.timeline { display: flex; flex-direction: column; }

.step { display: flex; gap: 12px; }

.step-spine {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 26px;
  flex-shrink: 0;
}

.step-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1e3d6b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  font-weight: 500;
  color: #c8e0c4;
  flex-shrink: 0;
}

.step-line {
  flex: 1;
  width: 2px;
  background: #c8c0b4;
  margin: 2px 0;
  min-height: 8px;
}

.step-content {
  padding-bottom: 10px;
  flex: 1;
  padding-top: 2px;
}

.step-title { font-size: 12.5px; font-weight: 500; color: #2e2a22; margin-bottom: 2px; }
.step-desc { font-size: 11.5px; color: #6a6058; line-height: 1.5; }

.promise-box {
  background: #fff8f0;
  border: 1px solid #d4a882;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.promise-box i { font-size: 17px; color: #b05c3a; flex-shrink: 0; }
.promise-text { font-size: 12px; color: #3e2e20; line-height: 1.5; }
.promise-text strong { font-weight: 500; color: #b05c3a; }

.s4-right {
  width: 200px;
  flex-shrink: 0;
  display: flex;
}

/* ============================================================
   SLIDE 5 — DAILY LIFE
   ============================================================ */
.s5-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 32px 16px;
  gap: 13px;
}

.s5-headline {
  font-family: 'Lora', serif;
  font-size: 23px;
  font-weight: 400;
  color: #2e2a22;
  line-height: 1.2;
}

.banner-img {
  height: 88px;
  background: #cec8be;
  border-radius: 12px;
  border: 1.5px dashed #b0a898;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.banner-img i { font-size: 20px; color: #8a7e6e; }
.banner-img span { font-size: 11px; color: #7a6e60; letter-spacing: 0.05em; }

.pillar-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.pillar-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 0.5px solid #ddd8ce;
  display: flex;
  flex-direction: column;
}

.pillar-card-img {
  height: 68px;
  background: #d4cec4;
  border-bottom: 1.5px dashed #b8ae9e;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.pillar-card-img i { font-size: 18px; color: #9a8e7e; }
.pillar-card-img span { font-size: 10px; color: #7a6e60; letter-spacing: 0.04em; text-align: center; padding: 0 10px; }

.pillar-card-body {
  padding: 11px 13px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pillar-card-header { display: flex; align-items: center; gap: 7px; }
.pillar-card-icon { font-size: 16px; color: #1e3d6b; }
.pillar-card-title { font-size: 12.5px; font-weight: 500; color: #2e2a22; }
.pillar-card-desc { font-size: 11.5px; color: #6a6058; line-height: 1.5; }

.testimonial {
  background: #1e3d6b;
  border-radius: 8px;
  padding: 13px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.testimonial-quote-mark {
  font-family: 'Lora', serif;
  font-size: 36px;
  color: #5a8ab0;
  line-height: 1;
  margin-top: -4px;
  flex-shrink: 0;
}

.testimonial-text {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 12.5px;
  color: #e8ede6;
  line-height: 1.6;
  margin-bottom: 4px;
}

.testimonial-attr { font-size: 11px; color: #7aaad0; }

/* ============================================================
   SLIDE 6 — CONTACT & CTA
   ============================================================ */
.slide--contact {
  position: relative;
  background: #1a3255;
}

.contact-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-bg-label {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.26);
  text-transform: uppercase;
  border: 1px dashed rgba(255,255,255,0.16);
  padding: 7px 14px;
  border-radius: 4px;
}

.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,30,20,0.68) 0%, rgba(15,24,15,0.78) 100%);
}

.contact-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 48px 24px;
  gap: 18px;
  text-align: center;
}

.contact-headline {
  font-family: 'Lora', serif;
  font-size: 34px;
  font-weight: 400;
  color: #f5f0e8;
  line-height: 1.2;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.contact-para {
  font-size: 13px;
  color: #c0d0bc;
  line-height: 1.7;
  max-width: 480px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 420px;
}

.contact-row {
  background: rgba(255,255,255,0.1);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  padding: 11px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.contact-row i { font-size: 18px; color: #7ab8e0; flex-shrink: 0; }
.contact-method-label { font-size: 10.5px; font-weight: 500; color: #6aaad0; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-method-value { font-size: 13px; color: #f0ede6; margin-top: 1px; }
.contact-method-note { font-size: 11px; color: #7aaad0; margin-top: 1px; }

.contact-logo-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}

.contact-logo-name {
  font-family: 'Lora', serif;
  font-size: 16px;
  font-weight: 500;
  color: #e8e2d8;
  letter-spacing: 0.02em;
}

.contact-logo-tagline {
  font-size: 11px;
  color: #7aaad0;
  font-style: italic;
  letter-spacing: 0.05em;
}

.reg-note {
  font-size: 10px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.03em;
}

/* ============================================================
   DECK NAVIGATION
   ============================================================ */
.deck-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.nav-btn {
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.7);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.15s, color 0.15s;
}

.nav-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.nav-btn:disabled { opacity: 0.3; cursor: default; }

.deck-indicators {
  display: flex;
  gap: 6px;
  align-items: center;
}

.indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.2s, width 0.2s, border-radius 0.2s;
}

.indicator.active {
  background: #f5f0e8;
  width: 20px;
  border-radius: 3px;
}

.deck-counter {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
  min-width: 40px;
  text-align: center;
}

/* ============================================================
   MOBILE RESPONSIVE — ≤ 760px
   ============================================================ */
@media (max-width: 760px) {

  /* --- Page shell --- */
  body {
    padding: 12px 10px 80px; /* bottom padding for fixed nav */
    align-items: flex-start;
  }

  .deck {
    width: 100%;
    gap: 0;
  }

  /* --- Slide shell --- */
  .slide {
    border-radius: 10px;
    min-height: auto;
  }

  /* --- Shared top/bottom bands --- */
  .top-band { padding: 10px 16px; }
  .slide-footer { padding: 9px 16px; }
  .footer-logo { font-size: 11px; }

  /* ── SLIDE 1 — HERO ── */
  .hero-top-bar { padding: 16px 16px 0; flex-wrap: wrap; gap: 8px; }
  .logo-name { font-size: 14px; }
  .logo-tagline { font-size: 10px; }

  .hero-centre {
    padding: 24px 20px 16px;
    gap: 12px;
  }

  .hero-headline {
    font-size: 26px;
    line-height: 1.22;
  }

  .hero-sub {
    font-size: 13px;
    max-width: 100%;
  }

  .stats-row { gap: 7px; }
  .stat-pill { padding: 6px 12px; }
  .stat-pill span { font-size: 11.5px; }

  .cta-btn {
    font-size: 13px;
    padding: 11px 20px;
    width: 100%;
    justify-content: center;
  }

  .hero-footer {
    padding: 10px 16px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-footer-div { display: none; }

  /* ── SLIDE 2 — ABOUT ── */
  .s2-body { flex-direction: column; }

  .s2-right {
    width: 100%;
    padding: 0 16px 16px;
    height: 180px;
    flex-shrink: 0;
  }

  .s2-right img { min-height: 0 !important; height: 100% !important; }

  .s2-left {
    padding: 16px 16px 12px;
    gap: 12px;
  }

  .s2-headline { font-size: 20px; }

  .values-row { flex-direction: column; gap: 6px; }
  .val { padding: 10px 12px; }

  /* ── SLIDE 3 — SERVICES ── */
  .s3-body { padding: 14px 16px 12px; gap: 12px; }
  .s3-headline { font-size: 19px; }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* ── SLIDE 4 — ROOMS & FACILITIES ── */
  /* The inline flex container for slide 4 */
  .slide[id="slide-4"] > div:not(.top-band):not(.slide-footer) {
    flex-direction: column !important;
    padding: 14px 16px 12px !important;
    gap: 14px !important;
  }

  /* Hide the side image on slide 4 on mobile — it crowds content */
  .slide[id="slide-4"] > div > div[style*="width:200px"] {
    display: none !important;
  }

  .rooms-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .room-count { font-size: 18px; }
  .room-label { font-size: 10.5px; }

  .fee-block {
    padding: 12px 14px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .fee-amount { font-size: 22px; }

  /* ── SLIDE 5 — REFERRALS ── */
  .s4-body { flex-direction: column; padding: 14px 16px 12px; gap: 14px; }

  .s4-right { display: none; } /* hide side photo to save space */

  .s4-headline { font-size: 19px; }

  .step { gap: 10px; }
  .step-dot { width: 22px; height: 22px; font-size: 10px; }
  .step-title { font-size: 12px; }
  .step-desc { font-size: 11px; }

  /* ── SLIDE 6 — CONTACT ── */
  .contact-content {
    padding: 28px 20px 20px;
    gap: 14px;
  }

  .contact-headline { font-size: 24px; }

  .contact-para {
    font-size: 12px;
    max-width: 100%;
  }

  .contact-methods { max-width: 100%; gap: 7px; }

  .contact-row {
    padding: 10px 14px;
    gap: 10px;
  }

  .contact-method-value { font-size: 12px; }

  /* ── NAVIGATION ── */
  .deck-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(20,20,20,0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 0.5px solid rgba(255,255,255,0.1);
    padding: 10px 20px;
    gap: 12px;
    z-index: 100;
  }

  .nav-btn {
    width: 44px;
    height: 44px; /* larger touch target */
    font-size: 18px;
  }

  .deck-indicators { gap: 8px; }

  .indicator { width: 7px; height: 7px; }
  .indicator.active { width: 22px; }
}

/* ============================================================
   VERY SMALL SCREENS — ≤ 400px
   ============================================================ */
@media (max-width: 400px) {
  .hero-headline { font-size: 22px; }
  .s2-headline { font-size: 18px; }
  .s3-headline, .s4-headline { font-size: 17px; }
  .contact-headline { font-size: 20px; }

  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .amenity { font-size: 10.5px; padding: 4px 9px; }

  .stat-pill span { font-size: 10.5px; }
  .cta-btn { font-size: 12.5px; }
}

