/* =============================================================
   VALLEY CARE GROUP — SIGNATURE CREATIVE SYSTEM
   "Where Every Detail Speaks of Care"
   ============================================================= */

/* ============================================================
   1. CURSOR — standard browser cursor
   ============================================================ */

/* ============================================================
   2. SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light), var(--clr-sky));
  z-index: 10000;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(201, 168, 76, 0.6);
}

/* ============================================================
   3. HERO — SIGNATURE REBUILD
   ============================================================ */
.hero-sig {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--clr-midnight);
}

.hero-sig-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/homes/ty-pentwyn-exterior.jpg');
  background-size: cover;
  background-position: center 30%;
  animation: heroBgFloat 20s ease-in-out infinite alternate;
}

@keyframes heroBgFloat {
  0% {
    transform: scale(1.0) translateY(0);
  }

  100% {
    transform: scale(1.03) translateY(-1%);
  }
}

.hero-sig-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(13, 27, 42, 0.97) 0%,
      rgba(13, 27, 42, 0.82) 45%,
      rgba(13, 27, 42, 0.45) 75%,
      rgba(13, 27, 42, 0.2) 100%);
}

.hero-sig-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Welsh hills at hero bottom */
.welsh-hills-hero {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 4;
  line-height: 0;
}

.welsh-hills-hero svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-sig-content {
  position: relative;
  z-index: 5;
  max-width: 100%;
  margin: 0 auto;
  padding: 10rem max(2rem, 4vw) 10rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

/* Monogram decorative — static */
.hero-monogram {
  position: absolute;
  top: 50%;
  right: 4%;
  font-family: var(--font-serif);
  font-size: clamp(14rem, 22vw, 22rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 168, 76, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 3;
  animation: antigravityMonogram 12s ease-in-out infinite;
}

@keyframes antigravityMonogram {

  0%,
  100% {
    transform: translateY(-50%);
  }

  50% {
    transform: translateY(calc(-50% - 25px));
  }
}

/* Title reveal animation */
.hero-sig-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.2rem;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--clr-gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  backdrop-filter: blur(12px);
  animation: heroFadeIn 0.8s var(--ease-out) 0.2s both;
}

.hero-sig-title {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.0;
  max-width: 820px;
  margin-bottom: 1.75rem;
  overflow: hidden;
}

.hero-title-line {
  display: block;
  animation: titleSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title-line:nth-child(1) {
  animation-delay: 0.3s;
}

.hero-title-line:nth-child(2) {
  animation-delay: 0.5s;
  color: var(--clr-gold-light);
  font-style: italic;
}

.hero-title-line:nth-child(3) {
  animation-delay: 0.65s;
}

@keyframes titleSlideUp {
  from {
    opacity: 0;
    transform: translateY(60px) skewY(3deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) skewY(0);
  }
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-sig-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
  animation: heroFadeIn 0.8s var(--ease-out) 0.9s both;
}

.hero-sig-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: heroFadeIn 0.8s var(--ease-out) 1.1s both;
}

.hero-sig-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  animation: heroFadeIn 0.8s var(--ease-out) 1.3s both;
}

/* Floating badge — rating */
.hero-float-badge {
  position: absolute;
  right: 5%;
  bottom: 12rem;
  z-index: 6;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  text-align: center;
  animation: heroFadeIn 0.8s var(--ease-out) 1.5s both;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.float-badge-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--clr-gold-light);
  line-height: 1;
}

.float-badge-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* Scroll hint */
.hero-sig-scroll {
  position: absolute;
  bottom: 8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: heroFadeIn 1s var(--ease-out) 2s both;
}

.hero-scroll-line {
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, var(--clr-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.8;
  }

  50% {
    transform: scaleY(0.5) translateY(10px);
    opacity: 0.3;
  }
}

.hero-scroll-text {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}

/* ============================================================
   4. WELSH HILLS SECTION DIVIDER
   ============================================================ */
.welsh-hills-divider {
  line-height: 0;
  overflow: hidden;
  position: relative;
}

.welsh-hills-divider svg {
  display: block;
  width: 100%;
}

/* ============================================================
   5. MARQUEE / INFINITE SCROLL STRIP
   ============================================================ */
.marquee-section {
  background: var(--clr-midnight);
  padding: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-title-bar {
  padding: 3.5rem 2rem 1.5rem;
  text-align: center;
}

.marquee-wrapper {
  position: relative;
  padding: 1.25rem 0 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

/* Fade masks on edges */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--clr-midnight), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--clr-midnight), transparent);
}

.marquee-row {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.marquee-row--fwd {
  animation: marqueeForward 40s linear infinite;
}

.marquee-row--rev {
  animation: marqueeReverse 40s linear infinite;
}

@keyframes marqueeForward {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes marqueeReverse {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.marquee-row:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}

.marquee-item:hover {
  background: rgba(201, 168, 76, 0.12);
  border-color: rgba(201, 168, 76, 0.3);
  color: var(--clr-gold-light);
}

.marquee-item-icon {
  font-size: 1.1rem;
}

/* ============================================================
   6. BENTO GRID (HOMES)
   ============================================================ */
.bento-section {
  background: var(--clr-cream);
  position: relative;
  overflow: hidden;
}

.bento-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
  height: 660px;
}

.bento-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s;
}

.bento-card:hover {
  transform: scale(1.015);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  z-index: 10;
}

.bento-card--tall {
  grid-row: 1 / 3;
}

.bento-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover .bento-card-img {
  transform: scale(1.08);
}

/* Gradient overlay */
.bento-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(13, 27, 42, 0.97) 0%,
      rgba(13, 27, 42, 0.6) 45%,
      rgba(13, 27, 42, 0.08) 100%);
  transition: background 0.4s;
}

.bento-card:hover .bento-card-overlay {
  background: linear-gradient(to top,
      rgba(13, 27, 42, 0.99) 0%,
      rgba(13, 27, 42, 0.7) 55%,
      rgba(13, 27, 42, 0.15) 100%);
}

.bento-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  z-index: 3;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.bento-status-open {
  background: rgba(39, 174, 96, 0.2);
  color: #4FC45F;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.bento-status-soon {
  background: rgba(201, 168, 76, 0.15);
  color: var(--clr-gold-light);
  border: 1px solid rgba(201, 168, 76, 0.3);
}

.bento-card-name {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.bento-card-type {
  font-size: 0.75rem;
  color: var(--clr-gold-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.bento-card-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease;
}

.bento-card--tall .bento-card-desc {
  max-height: none;
  opacity: 1;
}

.bento-card:hover .bento-card-desc {
  max-height: 120px;
  opacity: 1;
}

.bento-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, opacity 0.35s ease;
}

.bento-card--tall .bento-card-tags {
  max-height: 80px;
  opacity: 1;
}

.bento-card:hover .bento-card-tags {
  max-height: 80px;
  opacity: 1;
}

.bento-tag {
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.bento-card-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.bento-btn {
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
}

.bento-btn-gold {
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  color: var(--clr-midnight);
}

.bento-btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.bento-btn:hover {
  transform: translateY(-2px) scale(1.03);
}

/* Rating pill inside bento */
.bento-rating {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(13, 27, 42, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.85rem;
  z-index: 4;
  text-align: center;
}

.bento-rating-num {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--clr-gold-light);
  line-height: 1;
}

.bento-rating-stars {
  font-size: 0.7rem;
  color: var(--clr-gold);
}

.bento-rating-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.1rem;
}

/* ============================================================
   7. STORY / WHY US — DIAGONAL SPLIT
   ============================================================ */
.story-section {
  position: relative;
  overflow: hidden;
  padding: 7rem 0;
  background: #fff;
}

.story-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: var(--clr-midnight);
  clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.story-left {
  color: #fff;
  padding-left: 0;
}

.story-left .section-eyebrow {
  color: var(--clr-gold-light);
}

.story-left .section-title {
  color: #fff;
}

.story-left .section-title em {
  color: var(--clr-gold-light);
}

.story-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.story-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s;
}

.story-stat:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.2);
}

.story-stat-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-gold-light);
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.story-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.story-proof {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.story-proof-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--clr-gold);
  transition: all 0.2s;
}

.story-proof-item:hover {
  background: rgba(201, 168, 76, 0.08);
  transform: translateX(4px);
}

.story-proof-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.story-proof-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.story-proof-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.story-right {
  position: relative;
}

.story-image-main {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  display: block;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
}

.story-image-accent {
  position: absolute;
  bottom: -2rem;
  left: -2rem;
  width: 55%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  border: 4px solid #fff;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: top;
}

.story-award-badge {
  position: absolute;
  top: 2rem;
  right: -1.5rem;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(201, 168, 76, 0.35);
}

.story-award-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-midnight);
  line-height: 1;
}

.story-award-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(13, 27, 42, 0.7);
  margin-top: 0.2rem;
}

/* ============================================================
   8. TESTIMONIALS — STAGGERED CREATIVE
   ============================================================ */
.testimonials-sig {
  background: var(--clr-cream);
  padding: 6rem 0 7rem;
  position: relative;
  overflow: hidden;
}

.testimonials-sig::before {
  content: '"';
  position: absolute;
  top: -2rem;
  left: 3%;
  font-family: var(--font-serif);
  font-size: 28rem;
  color: rgba(201, 168, 76, 0.04);
  pointer-events: none;
  line-height: 1;
}

/* Horizontal scroll + snap; centre card raised (semicircle) — see initTestimonialsCarousel */
.testimonials-sig-rail {
  position: relative;
  margin-top: 3.5rem;
  width: 100%;
}

.testimonials-sig-rail::before,
.testimonials-sig-rail::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2.5rem;
  z-index: 2;
  pointer-events: none;
}

.testimonials-sig-rail::before {
  left: 0;
  background: linear-gradient(to right, var(--clr-cream), transparent);
}

.testimonials-sig-rail::after {
  right: 0;
  background: linear-gradient(to left, var(--clr-cream), transparent);
}

.testimonials-sig-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding: 0.35rem max(2rem, 4vw) 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.reduce-motion .testimonials-sig-scroll {
  scroll-behavior: auto;
}

.testimonials-sig-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 1.25rem;
  width: max-content;
  min-height: 1px;
  padding: 3rem max(1rem, calc(50% - min(180px, 42vw))) 5rem;
  box-sizing: border-box;
  perspective: 1200px;
}

.testimonial-sig-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.8s ease, border-color 0.8s ease, opacity 0.8s ease, background 0.8s ease;
  overflow: hidden;
  flex: 0 0 clamp(280px, 32vw, 360px);
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  transform: scale(0.85) translateY(40px) rotateY(-5deg);
  transform-origin: center center;
  opacity: 0.45;
  /* Fixed footprint: long quotes scroll inside the body, not the card */
  display: flex;
  flex-direction: column;
  height: 420px;
  box-sizing: border-box;
}

.testimonials-sig-rail .testi-quote-mark,
.testimonials-sig-rail .testi-stars {
  flex-shrink: 0;
}

.testimonials-sig-rail .testi-text {
  flex: 1 1 auto;
  min-height: 0;
  margin-bottom: 1rem;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.testimonials-sig-rail .testi-text::-webkit-scrollbar {
  width: 6px;
}

.testimonials-sig-rail .testi-text::-webkit-scrollbar-thumb {
  background: rgba(13, 27, 42, 0.22);
  border-radius: 3px;
}

.testimonials-sig-rail .testi-text::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 3px;
}

.testimonials-sig-rail .testi-author {
  flex-shrink: 0;
  margin-top: auto;
}

.testimonial-sig-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light));
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left;
}

.testimonials-sig-rail .testimonial-sig-card--center {
  transform: scale(1.08) translateY(-10px) rotateY(0deg);
  opacity: 1;
  background: #fff;
  border-top: 4px solid var(--clr-gold);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(201, 168, 76, 0.15);
  z-index: 10;
}

.testimonials-sig-rail .testimonial-sig-card--center::before {
  display: none;
}

.testimonials-sig-rail .testimonial-sig-card:not(.testimonial-sig-card--center):hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  transform: scale(0.9) translateY(20px) rotateY(-2deg);
  opacity: 0.7;
}

.testimonials-sig-rail .testimonial-sig-card:not(.testimonial-sig-card--center):hover::before {
  transform: scaleX(1);
}

.testimonials-sig-rail .testimonial-sig-card--center:hover {
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2), 0 12px 36px rgba(201, 168, 76, 0.25);
  transform: scale(1.1) translateY(-16px) rotateY(0deg);
}

.testi-sig-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  box-shadow: var(--shadow-sm);
  font-size: 1.35rem;
  line-height: 1;
  color: var(--clr-midnight);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, box-shadow 0.15s;
}

.testi-sig-nav:hover:not(:disabled) {
  background: var(--clr-cream);
  box-shadow: var(--shadow-md);
}

.testi-sig-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.testi-sig-nav--prev {
  left: calc(max(2rem, 4vw) - 1.25rem);
}

.testi-sig-nav--next {
  right: calc(max(2rem, 4vw) - 1.25rem);
}

@media (max-width: 640px) {
  .testi-sig-nav {
    display: none;
  }
}

.testi-quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--clr-gold);
  line-height: 0.5;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.testi-stars {
  color: var(--clr-gold);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  letter-spacing: 2px;
}

.testi-text {
  font-size: 0.9rem;
  color: var(--clr-text-mid);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 1.25rem;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-cobalt), var(--clr-sky));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testi-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--clr-midnight);
}

.testi-relation {
  font-size: 0.72rem;
  color: var(--clr-text-light);
}

/* Family story form (testimonials section) */
.family-story-flow {
  margin-top: 3.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.family-story-form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem 2.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.family-story-form-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--clr-midnight);
  margin: 0 0 0.5rem;
}

.family-story-form-lead {
  font-size: 0.85rem;
  color: var(--clr-text-mid);
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.family-story-form .family-story-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.family-story-form {
  position: relative;
}

.family-story-field-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 600px) {
  .family-story-field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.family-story-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--clr-midnight);
  margin-bottom: 0.35rem;
}

.family-story-req {
  color: #c0392b;
}

.family-story-opt {
  font-weight: 500;
  color: var(--clr-text-light);
}

.family-story-field input,
.family-story-field select,
.family-story-field textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  font-family: inherit;
  font-size: 0.875rem;
  background: #fafafa;
}

.family-story-field input:focus,
.family-story-field select:focus,
.family-story-field textarea:focus {
  outline: none;
  border-color: var(--clr-cobalt);
  background: #fff;
}

.family-story-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}

.family-story-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.78rem;
  color: var(--clr-text-mid);
  line-height: 1.5;
  margin: 0.85rem 0 0;
  cursor: pointer;
}

.family-story-check input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.family-story-check a {
  color: var(--clr-cobalt);
  font-weight: 600;
}

.family-story-submit {
  margin-top: 1.5rem;
  width: 100%;
}

@media (min-width: 480px) {
  .family-story-submit {
    width: auto;
    min-width: 220px;
  }
}

/* Testimonials: carehome.co.uk trust strip + per-home cards */
.testi-trust-block {
  margin-top: 3rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.testi-trust-footnote {
  margin: 0 0 1.25rem;
  font-size: 0.78rem;
  color: var(--clr-text-mid);
  line-height: 1.55;
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* Locator search bar base */
.locator-search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(13, 27, 42, 0.08);
  border: 1px solid rgba(201, 168, 76, 0.15);
  max-width: 640px;
  margin: 0 auto;
  transition: all 0.3s var(--ease-out);
}

.locator-search-bar:focus-within {
  box-shadow: 0 15px 45px rgba(201, 168, 76, 0.18);
  border-color: var(--clr-gold);
  transform: translateY(-2px);
}

.locator-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--clr-gold);
  flex-shrink: 0;
}

.locator-input {
  flex: 1;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--clr-midnight);
  padding: 0.75rem 0.5rem;
  width: 100%;
}

.locator-input::placeholder {
  color: var(--clr-text-light);
  opacity: 0.7;
}

.locator-btn {
  border-radius: var(--radius-full) !important;
  padding: 0.85rem 2rem !important;
  white-space: nowrap;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}

.testi-trust-homes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0;
}

@media (max-width: 768px) {
  .testi-trust-homes {
    grid-template-columns: 1fr;
  }
}

.testi-trust-home-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1.15rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}

.testi-trust-home-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.testi-trust-home-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-midnight);
}

.testi-trust-home-score {
  margin-top: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--clr-cobalt);
  line-height: 1.2;
}

.testi-trust-home-score--sm {
  font-size: 1.05rem;
  font-weight: 700;
}

.testi-trust-home-max {
  font-size: 0.55em;
  font-weight: 600;
  color: var(--clr-text-mid);
}

.testi-trust-home-meta {
  margin-top: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-cobalt);
}

.testi-review-cta {
  margin-top: 2.75rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 1.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.testi-review-cta-text {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--clr-text-mid);
  line-height: 1.65;
}

.testi-review-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
}

.testi-home {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--clr-cobalt);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   9. ENQUIRY SECTION — GLASSMORPHISM
   ============================================================ */
.enquiry-sig {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.enquiry-sig-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/interior.png');
  background-size: cover;
  background-position: center;
}

.enquiry-sig-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(13, 27, 42, 0.96) 0%,
      rgba(27, 79, 114, 0.88) 60%,
      rgba(13, 27, 42, 0.8) 100%);
}

/* Animated blob blurs */
.enquiry-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: blobDrift 12s ease-in-out infinite;
}

.enquiry-blob--1 {
  width: 400px;
  height: 400px;
  top: -150px;
  left: -150px;
  background: rgba(201, 168, 76, 0.12);
  animation-delay: 0s;
}

.enquiry-blob--2 {
  width: 500px;
  height: 500px;
  bottom: -200px;
  right: -100px;
  background: rgba(46, 134, 193, 0.1);
  animation-delay: 4s;
}

@keyframes blobDrift {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(40px, 30px) scale(1.08);
  }

  66% {
    transform: translate(-20px, 40px) scale(0.95);
  }
}

.enquiry-sig-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 5rem max(2rem, 4vw);
  width: 100%;
}

.enquiry-sig-info {
  color: #fff;
}

.enquiry-sig-info .section-eyebrow {
  color: var(--clr-gold-light);
}

.enquiry-sig-info .section-title {
  color: #fff;
}

.enquiry-sig-info .section-title em {
  color: var(--clr-gold-light);
}

.enquiry-process {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.enq-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.enq-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  color: var(--clr-midnight);
  font-weight: 800;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.enq-step-title {
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
}

.enq-step-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.15rem;
  line-height: 1.5;
}

.enq-contact-bar {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.enq-contact-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  transition: color 0.2s;
}

.enq-contact-link:hover {
  color: var(--clr-gold-light);
}

/* Glass form card */
.glass-form-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.glass-form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.glass-form-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.75rem;
}

.glass-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.glass-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.glass-select {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  appearance: none;
  transition: all 0.2s;
  box-sizing: border-box;
}

.glass-select option {
  background: var(--clr-midnight);
  color: #fff;
}

.glass-select:focus {
  border-color: rgba(201, 168, 76, 0.5);
}

.glass-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.glass-form-group {
  margin-bottom: 1.1rem;
}

.glass-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.glass-textarea {
  width: 100%;
  min-height: 90px;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  resize: vertical;
  transition: all 0.2s;
  box-sizing: border-box;
}

.glass-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.glass-textarea:focus {
  border-color: rgba(201, 168, 76, 0.5);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.glass-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  color: var(--clr-midnight);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  transition: all 0.2s;
  margin-top: 0.75rem;
  position: relative;
  overflow: hidden;
}

.glass-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.glass-submit:hover::after {
  transform: translateX(100%);
}

.glass-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.5);
}

.glass-privacy {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
  margin-top: 0.85rem;
}

/* ============================================================
   10. MAGNETIC BUTTON EFFECT
   ============================================================ */
.mag-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   11. 3D TILT CARD SYSTEM
   ============================================================ */
.tilt-card {
  transform-style: preserve-3d;
  perspective: 800px;
  transition: transform 0.1s;
}

.tilt-inner {
  transform-style: preserve-3d;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================
   12. FOOTER — SIGNATURE
   ============================================================ */
.footer-sig {
  background: var(--clr-midnight);
  position: relative;
  overflow: hidden;
}

.footer-hills {
  line-height: 0;
  position: relative;
}

.footer-hills svg {
  display: block;
  width: 100%;
}

.footer-sig-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 max(2rem, 4vw) 2rem;
}

.footer-sig-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Glowing tagline in footer */
.footer-glow-tagline {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: transparent;
  background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

/* ============================================================
   13. SIGNATURE SECTION TITLES (GRADIENT TEXT)
   ============================================================ */
.title-gradient {
  background: linear-gradient(135deg, var(--clr-midnight), var(--clr-cobalt));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   14. ANIMATED GOLD DIVIDER LINE
   ============================================================ */
.gold-line-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.gold-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
}

.gold-line-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-gold);
  animation: pulse 2s infinite;
}

/* ============================================================
   15. IMAGE REVEAL ON SCROLL
   ============================================================ */
.reveal-mask {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.reveal-mask img {
  transform: scale(1.15) translateY(30px);
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-mask.revealed img {
  transform: scale(1) translateY(0);
}

/* ============================================================
   16. CARE BADGE — CTA STRIP
   ============================================================ */
.care-strip {
  background: linear-gradient(135deg, var(--clr-midnight) 0%, var(--clr-cobalt) 50%, var(--clr-midnight) 100%);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.care-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/caregiver.png') center/cover no-repeat;
  opacity: 0.05;
}

.care-strip-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1rem;
}

.care-strip-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.care-strip-title em {
  color: var(--clr-gold-light);
  font-style: italic;
}

.care-strip-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.care-strip-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   17. ANIMATED ACCREDITATION STRIP
   ============================================================ */
.accred-sig-strip {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 2rem 0;
}

.accred-sig-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.accred-sig-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 2.5rem;
  opacity: 0.6;
  transition: opacity 0.2s;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

.accred-sig-item:last-child {
  border-right: none;
}

.accred-sig-item:hover {
  opacity: 1;
}

.accred-sig-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: var(--clr-cream);
}

.accred-sig-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--clr-midnight);
  line-height: 1.2;
}

.accred-sig-sub {
  font-size: 0.68rem;
  color: var(--clr-text-light);
}

/* ============================================================
   18. MOBILE RESPONSIVE — SIGNATURE SECTION
   ============================================================ */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .bento-card {
    height: auto;
    min-height: 400px;
    aspect-ratio: auto;
  }

  .bento-card-desc,
  .bento-card-tags {
    max-height: none;
    opacity: 1;
  }

  .bento-card-body {
    position: relative;
    padding: 1.5rem;
  }

  .bento-card-img {
    position: relative;
    height: 220px;
  }

  .bento-card-overlay {
    background: linear-gradient(to top, rgba(13, 27, 42, 1) 0%, rgba(13, 27, 42, 0.85) 50%, rgba(27, 79, 114, 0.4) 100%);
  }

  .bento-rating {
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.65rem;
  }

  .story-section {
    background: var(--clr-midnight);
  }

  .story-section::before {
    display: none;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-right {
    margin-top: 3rem;
  }

  .enquiry-sig {
    min-height: 0;
  }

  .enquiry-sig-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-sig-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero-monogram {
    display: none;
  }

  .hero-float-badge {
    right: 1rem;
    bottom: 9rem;
  }

  .hero-sig-content {
    padding: 8rem 1.25rem 9rem;
  }

  .bento-grid {
    gap: 1rem;
  }

  .bento-card {
    min-height: 360px;
  }

  .story-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .testimonial-sig-card {
    flex: 0 0 min(360px, 86vw);
    transform: translateY(10px);
    height: 390px;
  }

  .testimonials-sig-rail .testimonial-sig-card--center {
    transform: translateY(0);
  }

  .glass-form-row {
    grid-template-columns: 1fr;
  }

  .enquiry-sig-inner {
    padding: 4rem 1.25rem;
  }

  .footer-sig-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .accred-sig-item {
    padding: 0.75rem 1.25rem;
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
    max-width: 300px;
  }

  .care-strip-actions {
    flex-direction: column;
    align-items: center;
  }

  .care-strip-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-sig-actions {
    flex-direction: column;
  }

  .hero-sig-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Sticky buttons fix - Bottom Bar */
  .sticky-enquiry {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    gap: 0.5rem;
    flex-direction: row;
    justify-content: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
  }

  .sticky-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    flex: 1;
    border-radius: var(--radius-md) !important;
  }

  .back-to-top {
    bottom: 5rem !important;
    right: 1rem !important;
  }

  /* Locator search bar responsive */
  .locator-search-bar {
    flex-direction: row;
    padding: 0.35rem 0.35rem 0.35rem 1rem;
  }

  .locator-input {
    font-size: 0.95rem;
  }

  .locator-btn {
    padding: 0.7rem 1.5rem !important;
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
  .locator-search-bar {
    flex-direction: column;
    border-radius: var(--radius-lg) !important;
    padding: 1.25rem !important;
    gap: 1rem;
  }

  .locator-icon {
    display: none !important;
  }

  .locator-input {
    padding: 0.75rem 0.5rem !important;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1) !important;
    margin-bottom: 0.25rem;
    text-align: center;
    font-size: 1rem;
  }

  .locator-btn {
    width: 100%;
    border-radius: var(--radius-md) !important;
    padding: 1rem !important;
  }
}

@media (max-width: 480px) {
  .hero-sig-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .bento-card-name {
    font-size: 1.35rem;
  }

  .bento-card {
    min-height: 320px;
  }

  .testimonial-sig-card {
    height: 360px;
  }

  .story-stats {
    grid-template-columns: 1fr 1fr;
  }

  .story-stat-num {
    font-size: 2rem;
  }

  .hero-sig-stats {
    gap: 1.5rem;
  }

  .float-badge-num {
    font-size: 2.2rem;
  }

  .hero-float-badge {
    padding: 1rem 1.25rem;
  }
}