/* ================================================================
   Panacea — Retail Division Page
   Aesthetic: editorial warmth · approachable · community-first
   ================================================================ */

/* ── Shared tokens ──────────────────────────────────────────────── */
:root {
  --rd-green:      #02a650;
  --rd-green-dark: #013d1d;
  --rd-black:      #050c07;
  --rd-soft:       #f4f8f5;
}

/* ── Eyebrow ────────────────────────────────────────────────────── */
.rd-eyebrow {
  display: none;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rd-green);
  margin: 0 0 16px;
}
.rd-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--rd-green);
  flex-shrink: 0;
}
.rd-eyebrow--light {
  color: rgba(255,255,255,0.50);
}
.rd-eyebrow--light::before {
  background: rgba(255,255,255,0.38);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.rd-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background 0.24s ease, color 0.24s ease, gap 0.24s ease, border-color 0.24s ease;
}
.rd-btn span {
  display: inline-block;
  transition: transform 0.24s ease;
}
.rd-btn:hover span { transform: translateX(3px); }

.rd-btn-primary { background: #fff; color: var(--rd-green-dark); }
.rd-btn-primary:hover { background: var(--rd-green); color: #fff; gap: 14px; }

.rd-btn-ghost {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.rd-btn-ghost:hover { background: rgba(255,255,255,0.18); gap: 14px; color: #fff; }

.rd-btn-dark { background: var(--rd-green-dark); color: #fff; }
.rd-btn-dark:hover { background: var(--rd-green); gap: 14px; color: #fff; }

.rd-btn-outline { background: transparent; color: var(--rd-green-dark); border-color: #c6dbc9; }
.rd-btn-outline:hover { border-color: var(--rd-green); color: var(--rd-green); gap: 14px; }

/* ════════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════════ */

.rd-hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Full-bleed background image */
.rd-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  filter: brightness(0.9) saturate(0.9);
  display: block;
}

/* Directional overlay — dark left for text, bottom vignette for stats bar */
.rd-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(108deg,
      rgba(1,10,3,0.90) 0%,
      rgba(1,10,3,0.68) 32%,
      rgba(1,10,3,0.30) 62%,
      rgba(1,10,3,0.06) 100%
    ),
    linear-gradient(to top,
      rgba(1,10,3,0.82) 0%,
      rgba(1,10,3,0.20) 22%,
      transparent 40%
    );
}

/* Main content area */
.rd-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1340px;
  width: 100%;
  margin: 0 auto;
  padding: 0 56px;
  padding-top: 60px;
}

/* Page-level heading */
.rd-hero-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(60px, 9vw, 120px);
  font-weight: 300;
  line-height: 0.97;
  color: #ffffff;
  letter-spacing: -0.04em;
  margin: 0 0 28px;
  text-shadow: 0 2px 48px rgba(0,0,0,0.28);
}
.rd-hero-title em {
  font-style: italic;
  color: var(--rd-green);
}

.rd-hero-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  line-height: 1.78;
  max-width: 480px;
  margin: 0 0 36px;
}

.rd-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Stats bar fixed to bottom of hero */
.rd-hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: none;
  background: rgba(1,10,3,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.rd-stat {
  flex: 1;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid rgba(255,255,255,0.07);
}
.rd-stat:last-child { border-right: none; }

.rd-stat b {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}
.rd-stat span {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

/* ════════════════════════════════════════════════════════════════
   SERVICES
   ════════════════════════════════════════════════════════════════ */

.rd-services {
  background: #ffffff;
  padding: 96px 0;
}

.rd-services-head {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 56px 64px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 80px;
  align-items: end;
}

.rd-section-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--rd-green-dark);
  letter-spacing: -0.03em;
  margin: 0;
}
.rd-section-title em {
  font-style: italic;
  color: var(--rd-green);
}

.rd-section-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #5a7060;
  line-height: 1.75;
  max-width: 400px;
  margin: 0;
  align-self: end;
  padding-bottom: 8px;
}

/* 3-column grid, Express card spans 2 */
.rd-services-grid {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Base service card ─────────────────────────────────────────── */
.rd-svc-card {
  background: #ffffff;
  border: 1px solid #e4ece6;
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}
.rd-svc-card:hover {
  border-color: var(--rd-green);
  box-shadow: 0 8px 40px rgba(2,166,80,0.10), 0 2px 12px rgba(0,0,0,0.05);
  transform: translateY(-5px);
}

/* Corner glow on hover */
.rd-svc-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at 100% 0%, rgba(2,166,80,0.06) 0%, transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s;
}
.rd-svc-card:hover::after { opacity: 1.5; }

.rd-svc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 28px;
}

.rd-svc-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(2,166,80,0.11);
  user-select: none;
  transition: color 0.3s ease;
}
.rd-svc-card:hover .rd-svc-num { color: rgba(2,166,80,0.20); }

.rd-svc-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(2,166,80,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rd-green);
  font-size: 18px;
  flex-shrink: 0;
  transition: background 0.28s ease, color 0.28s ease;
}
.rd-svc-card:hover .rd-svc-icon {
  background: var(--rd-green);
  color: #fff;
}

.rd-svc-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 300;
  line-height: 1.18;
  color: var(--rd-green-dark);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}

.rd-svc-text {
  font-family: 'Work Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 400;
  color: #5a7060;
  line-height: 1.72;
  margin: 0;
  flex: 1;
}

/* Pulsing "24h Open" badge */
.rd-svc-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rd-green);
  background: rgba(2,166,80,0.08);
  border: 1px solid rgba(2,166,80,0.22);
  padding: 5px 13px;
  border-radius: 999px;
  margin-top: 20px;
  align-self: flex-start;
}
.rd-svc-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rd-green);
  flex-shrink: 0;
  animation: rd-pulse 1.9s ease infinite;
}
@keyframes rd-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}

/* Featured 24h card — pale green tint */
.rd-svc-card--featured {
  background: linear-gradient(148deg, #f4fcf7 0%, #edf5f0 100%);
  border-color: rgba(2,166,80,0.16);
}

/* ── Express card (2-col wide, dark) ─────────────────────────── */
.rd-svc-card--express {
  grid-column: span 2;
  background: var(--rd-green-dark);
  border-color: transparent;
}
.rd-svc-card--express:hover {
  border-color: var(--rd-green);
  box-shadow: 0 12px 48px rgba(1,61,29,0.28);
  transform: translateY(-5px);
}
.rd-svc-card--express .rd-svc-num { color: rgba(255,255,255,0.09); }
.rd-svc-card--express:hover .rd-svc-num { color: rgba(2,166,80,0.22); }

.rd-express-logo {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  display: block;
}

.rd-svc-card--express .rd-svc-title {
  color: #ffffff;
  font-size: clamp(26px, 2.8vw, 36px);
}
.rd-svc-card--express .rd-svc-text {
  color: rgba(255,255,255,0.52);
  max-width: 440px;
  margin-bottom: 28px;
  flex: none;
}
.rd-svc-card--express::after {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 100% 0%, rgba(2,166,80,0.16) 0%, transparent 65%);
}

.rd-svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.24);
  padding-bottom: 5px;
  align-self: flex-start;
  transition: color 0.22s ease, border-color 0.22s ease, gap 0.22s ease;
}
.rd-svc-link span { display: inline-block; transition: transform 0.22s ease; }
.rd-svc-link:hover {
  color: var(--rd-green);
  border-color: var(--rd-green);
  gap: 12px;
}
.rd-svc-link:hover span { transform: translate(3px, -3px); }

/* ════════════════════════════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════════════════════════════ */

.rd-gallery {
  background: var(--rd-black);
  padding: 96px 0 0;
}

.rd-gallery-head {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 56px 52px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px 48px;
}

.rd-gallery-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin: 0;
}
.rd-gallery-title em {
  font-style: italic;
  color: var(--rd-green);
}

.rd-gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.22s ease, gap 0.22s ease;
}
.rd-gallery-link:hover { color: var(--rd-green); gap: 12px; }

/* Horizontal scroll photo strip */
.rd-img-strip {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.rd-img-strip::-webkit-scrollbar { display: none; }

.rd-strip-img {
  flex: 0 0 360px;
  height: 440px;
  object-fit: cover;
  scroll-snap-align: start;
  display: block;
  filter: brightness(0.75) saturate(0.80);
  transition: flex-basis 0.45s cubic-bezier(0.25,0.46,0.45,0.94),
              filter 0.35s ease;
}
.rd-strip-img:hover {
  flex-basis: 500px;
  filter: brightness(0.95) saturate(1.05);
}

/* ════════════════════════════════════════════════════════════════
   WHY CHOOSE US
   ════════════════════════════════════════════════════════════════ */

.rd-why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

/* Left: photo */
.rd-why-img-col {
  position: relative;
  overflow: hidden;
}
.rd-why-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25,0.46,0.45,0.94);
}
.rd-why-img-col:hover .rd-why-photo { transform: scale(1.04); }

.rd-why-img-label {
  position: absolute;
  bottom: 36px;
  left: 36px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(1,10,3,0.52);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
}

/* Right: dark green content panel */
.rd-why-content {
  background: var(--rd-green-dark);
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rd-why-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 300;
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.rd-why-title em {
  font-style: italic;
  color: var(--rd-green);
}

.rd-why-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: 15.5px;
  font-weight: 400;
  color: rgba(255,255,255,0.50);
  line-height: 1.78;
  margin: 0 0 48px;
  max-width: 380px;
}

.rd-why-features { display: flex; flex-direction: column; gap: 0; }

.rd-why-feat {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 0 18px;
  align-items: start;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.rd-why-feat:first-child { padding-top: 0; }
.rd-why-feat:last-child { border-bottom: none; padding-bottom: 0; }

.rd-why-feat-mark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: rgba(2,166,80,0.28);
  user-select: none;
  padding-top: 3px;
}

.rd-why-feat-body h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  margin: 0 0 8px;
}
.rd-why-feat-body p {
  font-family: 'Work Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.48);
  line-height: 1.72;
  margin: 0;
}

/* ════════════════════════════════════════════════════════════════
   CTA
   ════════════════════════════════════════════════════════════════ */

.rd-cta {
  background: #ffffff;
  padding: 96px 0;
  position: relative;
}
.rd-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(2,166,80,0.05) 0%, transparent 58%);
  pointer-events: none;
}

.rd-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 56px;
  text-align: center;
  position: relative;
}

.rd-cta-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--rd-green-dark);
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.rd-cta-title em { font-style: italic; color: var(--rd-green); }

.rd-cta-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: 16px;
  color: #5a7060;
  line-height: 1.75;
  margin: 0 0 40px;
}

.rd-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .rd-hero-inner    { padding: 0 40px; }
  .rd-services-head { padding: 0 40px 56px; gap: 0 56px; }
  .rd-services-grid { padding: 0 40px; }
  .rd-gallery-head  { padding: 0 40px 44px; }
  .rd-why-content   { padding: 64px 56px; }
  .rd-cta-inner     { padding: 0 40px; }
}

@media (max-width: 900px) {
  .rd-services-head {
    grid-template-columns: 1fr;
    gap: 20px 0;
    padding: 0 32px 48px;
  }
  .rd-section-sub { max-width: 100%; }
  .rd-services-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 32px;
  }
  .rd-svc-card--express { grid-column: span 2; }
  .rd-why { grid-template-columns: 1fr; }
  .rd-why-img-col { height: 400px; }
  .rd-why-content { padding: 56px 40px; }
  .rd-why-sub { max-width: 100%; }
  .rd-gallery-head { padding: 0 32px 40px; }
  .rd-strip-img { flex: 0 0 300px; height: 380px; }
}

@media (max-width: 680px) {
  .rd-hero-inner     { padding: 0 24px; padding-top: 72px; }
  .rd-hero-stats     { flex-wrap: wrap; }
  .rd-stat           { flex: 1 1 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .rd-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.07); }
  .rd-stat:nth-child(3),
  .rd-stat:nth-child(4)   { border-bottom: none; }

  .rd-services       { padding: 64px 0; }
  .rd-services-head  { padding: 0 24px 40px; }
  .rd-services-grid  { grid-template-columns: 1fr; padding: 0 24px; gap: 12px; }
  .rd-svc-card--express { grid-column: span 1; }

  .rd-gallery        { padding: 64px 0 0; }
  .rd-gallery-head   { padding: 0 24px 32px; }
  .rd-strip-img      { flex: 0 0 260px; height: 320px; }

  .rd-why-content    { padding: 48px 24px; }

  .rd-cta            { padding: 64px 0; }
  .rd-cta-inner      { padding: 0 24px; }
}

@media (max-width: 420px) {
  .rd-svc-card { padding: 28px; }
  .rd-hero-title { font-size: clamp(52px, 14vw, 80px); }
}
