/* =====================================================
   Dr. Abhishek Singh - Oncology Profile
   Design system: warm sage + wine, "halo" ring motif
   ===================================================== */

:root {
  /* ---- Color tokens ---- */
  --ink: #1A2228;
  --ink-soft: #4A5B66;
  --sage: #3F6E84;
  --sage-dark: #182B38;
  --sage-soft: #EDF3F6;
  --wine: #C86A53;
  --wine-dark: #A44F3A;
  --gold: #D9AC70;
  --linen: #FAF9F6;
  --linen-deep: #F1EFE9;
  --white: #FFFFFF;

  /* ---- Elevation / shape ---- */
  --shadow-sm: 0 6px 16px -8px rgba(43, 40, 35, .18);
  --shadow-md: 0 20px 40px -18px rgba(44, 61, 49, .28);
  --shadow-lg: 0 30px 60px -24px rgba(44, 61, 49, .32);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --ring: 1px solid rgba(43, 40, 35, .08);

  /* ---- Type ---- */
  --ff-display: "Playfair Display", serif;
  --ff-body: "DM Sans", sans-serif;

  /* ---- Motion ---- */
  --ease: cubic-bezier(.16, .84, .32, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout helpers ---------- */
.container {
  width: 85%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 1200px) {
  .container {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .container {
    width: 92%;
    padding: 0 16px;
  }
}

.container--narrow {
  max-width: 800px;
}

.section {
  padding: clamp(64px, 9vw, 128px) 0;
  position: relative;
}

.section--soft {
  background: var(--sage-soft);
}

.section--deep {
  background: var(--sage-dark);
  color: var(--linen);
}

.section--deep .eyebrow {
  color: var(--gold);
}

.section--deep h2 {
  color: var(--white);
}

.grid {
  display: grid;
  gap: 28px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Teaser grids - responsive */
.teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 980px) {
  .teaser-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .teaser-grid .reveal,
  .teaser-grid .reveal-left,
  .teaser-grid .reveal-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .teaser-grid h2,
  .teaser-grid .eyebrow {
    text-align: center;
  }

  .teaser-grid p,
  .teaser-grid p.lede {
    text-align: center;
  }

  .teaser-grid .pp-brandbar {
    justify-content: center;
    align-self: center;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .hero-visual {
    margin-top: 24px;
  }
}

@media (max-width:980px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width:768px) {
  .grid-2,
  .grid-3,
  .grid-5 {
    grid-template-columns: 1fr !important;
  }

  .grid-3 > .card[style*="grid-column"] {
    grid-column: span 1 !important;
  }
}

/* Image frame hover scale animation */
.img-frame {
  overflow: hidden;
  position: relative;
}

.img-frame img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-frame:hover img {
  transform: scale(1.06) rotate(0.5deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 600;
  font-family: var(--ff-body);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 154, 75, .25);
}

.section-head {
  max-width: 1000px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.3vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-style: italic;
}

h3 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.35;
  letter-spacing: -.01em;
}

.lede {
  font-size: 1.06rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-top: 14px;
  font-weight: 400;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--wine);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--wine-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--sage-dark);
  border: 1.5px solid rgba(43, 40, 35, .18);
}

.btn-ghost:hover {
  border-color: var(--sage-dark);
  background: rgba(62, 84, 68, .06);
  transform: translateY(-2px);
}

.btn-on-deep {
  background: var(--gold);
  color: var(--sage-dark);
}

.btn-on-deep:hover {
  background: #dba85b;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: .85rem;
}

/* ---------- Halo motif (signature element) ---------- */
.halo {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  opacity: .18;
  pointer-events: none;
}

.halo-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  color: var(--sage);
}

.cancer-cell-bg {
  position: absolute;
  top: -60px;
  right: -50px;
  width: 280px;
  height: 280px;
  opacity: 0.18;
  pointer-events: none;
  animation: floatCell 12s ease-in-out infinite alternate;
  z-index: 1;
}

.cancer-cell-bg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (min-width: 992px) {
  .cancer-cell-bg {
    width: 580px;
    height: 580px;
    top: -160px;
    right: -120px;
  }
}

@keyframes floatCell {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
  }

  100% {
    transform: translateY(20px) rotate(15deg) scale(1.05);
  }
}

/* ---------- Header / Nav ---------- */
/* ---------- Premium Dark Responsive Header ---------- */
.site-header .container {
  width: 95%;
  max-width: 1800px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 16px 0;
  background: rgba(24, 43, 56, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(250, 247, 240, 0.08);
  transition: padding 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  padding: 10px 0;
  background: rgba(15, 27, 35, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--linen);
  transition: opacity 0.3s ease;
}

.brand:hover {
  opacity: 0.9;
}

.brand-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(217, 172, 112, 0.3);
}

.brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(201, 154, 75, 0.3);
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.6;
}

.brand small {
  display: block;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 247, 240, 0.6);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(250, 247, 240, 0.8);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-links a.is-active {
  color: var(--gold);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Social media links in header */
.nav-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: rgba(250, 247, 240, 0.85);
  background: rgba(250, 247, 240, 0.05);
  border: 1px solid rgba(250, 247, 240, 0.12);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-social-link::after {
  display: none !important;
}

.nav-links .nav-social-link {
  padding: 0 !important;
}

.nav-social-link:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25);
  color: #fff;
  border-color: transparent;
}

.nav-social-insta:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.35);
}

.nav-social-fb:hover {
  background: #1877F2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

.nav-social-yt:hover {
  background: #FF0000;
  box-shadow: 0 8px 20px rgba(255, 0, 0, 0.35);
}

.mobile-only {
  display: none !important;
}

.desktop-only {
  display: flex !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  z-index: 2020;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--linen);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), background-color 0.3s ease;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(24, 43, 56, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 80px 40px;
    z-index: 2010;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 0;
  }

  .nav-links a {
    font-size: 1.5rem;
    font-family: var(--ff-display);
    color: var(--linen);
  }

  .nav-links a.is-active {
    color: var(--gold);
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
  }

  body.nav-open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--gold);
  }

  body.nav-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--gold);
  }

  .nav-cta .btn-primary {
    display: none;
  }

  .mobile-only {
    display: flex !important;
  }

  .desktop-only {
    display: none !important;
  }

  .nav-links .nav-social {
    margin-top: 20px;
    gap: 18px;
  }

  .nav-links .nav-social-link {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  }

  .nav-links .nav-social-insta {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  }

  .nav-links .nav-social-fb {
    background: #1877F2 !important;
  }

  .nav-links .nav-social-yt {
    background: #FF0000 !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(120px, 15vw, 160px) 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 4.8vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--sage-dark);
}

.hero h1 em {
  color: var(--wine);
  font-style: normal;
}

.hero-text-content {
  position: relative;
  z-index: 3;
}

.hero-text-content::before {
  content: "";
  position: absolute;
  inset: -45px -65px;
  background: radial-gradient(circle, rgba(250, 249, 246, 0.5) 20%, rgba(250, 249, 246, 0.2) 70%, rgba(250, 249, 246, 0) 100%);
  z-index: -1;
  pointer-events: none;
  filter: blur(15px);
  border-radius: 40px;
}

.hero-text-content .lede {
  color: var(--ink);
  font-weight: 450;
}

.hero-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--white);
  font-size: .78rem;
  font-weight: 600;
  color: var(--sage-dark);
  border: 1px solid rgba(43, 40, 35, .08);
}

.chip i {
  color: var(--wine);
  font-size: .7rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}

.halo-portrait {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--sage-soft), var(--linen-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 5;
}

.halo-portrait .initials {
  font-family: var(--ff-display);
  font-size: 5rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.halo-portrait .doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 2;
}

.halo-ring {
  position: absolute;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  opacity: .55;
}

.halo-ring.r1 {
  inset: -18px;
}

.halo-ring.r2 {
  inset: -38px;
  border-color: var(--wine);
  opacity: .3;
}

.halo-ring.r3 {
  inset: -60px;
  opacity: .18;
}

.hero-badge {
  position: absolute;
  bottom: 6%;
  left: -6%;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 230px;
  z-index: 6;
}

.hero-badge i {
  font-size: 1.4rem;
  color: var(--wine);
}

.hero-badge strong {
  display: block;
  font-size: .95rem;
}

.hero-badge span {
  font-size: .78rem;
  color: var(--ink-soft);
}

/* ---------- Stats ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.stat {
  position: relative;
  text-align: left;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  background: var(--sage-dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(250, 247, 240, 0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Mouse-tracking background glow */
.stat::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at var(--x, 50%) var(--y, 50%), rgba(217, 172, 112, 0.12), transparent 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.stat:hover::after {
  opacity: 1;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--wine));
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 2;
}

.stat:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -15px rgba(15, 27, 35, 0.5);
  border-color: rgba(217, 172, 112, 0.3);
}

.stat:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(250, 247, 240, 0.08);
  color: #F6E3C6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: transform 0.6s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  animation: floatIcon 4s ease-in-out infinite alternate;
}

.stat:nth-child(2) .stat-icon {
  animation-delay: 0.5s;
}

.stat:nth-child(3) .stat-icon {
  animation-delay: 1s;
}

.stat:nth-child(4) .stat-icon {
  animation-delay: 1.5s;
}

@keyframes floatIcon {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-5px);
  }
}

.stat:hover .stat-icon {
  background: var(--gold);
  color: var(--sage-dark);
  transform: rotateY(180deg) scale(1.05);
  animation-play-state: paused;
}

.stat-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.stat .num {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 2.2vw, 2.4rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  background: linear-gradient(135deg, #FFFFFF, #F6E3C6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat .label {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(250, 247, 240, 0.75);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 960px) {
  .stats-row {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .stat {
    padding: 28px 20px;
  }
}

@media (max-width: 1024px) {
  .stats-row {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .stat {
    flex-direction: column;
    text-align: center;
    padding: 36px 20px;
    gap: 16px;
  }

  .stat-icon {
    margin: 0 auto;
  }
}

@media (max-width: 780px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- Cards: modalities / general ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  border: 1px solid rgba(43, 40, 35, .05);
}

@media (max-width: 576px) {
  .card {
    padding: 22px 18px;
  }
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--sage-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--sage-dark);
  font-size: 1.25rem;
  position: relative;
}

.card-icon::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: .4;
}

.card p {
  color: var(--ink-soft);
  margin-top: 10px;
  line-height: 1.65;
  font-size: .95rem;
}

.card .tag {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
}

/* ---------- Timeline (real chronology only) ---------- */
.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::after {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--sage-soft);
  z-index: 1;
}

.timeline-progress-line {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, var(--wine), var(--gold));
  z-index: 2;
  transform-origin: top;
  transform: scaleY(0);
}

.timeline-item {
  position: relative;
  padding-bottom: 38px;
  z-index: 3;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--linen);
  border: 3px solid var(--wine);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  z-index: 3;
}

.timeline-item.is-active::before {
  background: var(--gold);
  border-color: var(--wine-dark);
  transform: scale(1.35);
  box-shadow: 0 0 0 6px rgba(217, 172, 112, 0.25);
}

.timeline-item h4 {
  transition: color 0.4s var(--ease);
}

.timeline-item.is-active h4 {
  color: var(--wine);
}

.timeline-date {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wine);
}

.timeline-item h4 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  margin-top: 4px;
  font-weight: 600;
}

.timeline-item p {
  color: var(--ink-soft);
  font-size: .92rem;
  margin-top: 4px;
  line-height: 1.6;
}

/* ---------- Badge / membership grid ---------- */
.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 12px;
}

.badge-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid rgba(43, 40, 35, 0.06);
  border-left: 4px solid var(--sage);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), border-left-color 0.4s var(--ease);
}

.badge-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 106, 83, 0.2);
  border-left-color: var(--wine);
}

.badge-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-card .acro {
  font-family: var(--ff-display);
  font-weight: 700;
  color: var(--sage-dark);
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.badge-card .badge-icon {
  font-size: 1.3rem;
  color: var(--gold);
  transition: color 0.4s var(--ease), transform 0.4s var(--ease);
}

.badge-card:hover .badge-icon {
  color: var(--wine);
  transform: scale(1.1);
}

.badge-card .full {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 0;
}

/* ---------- Quote / Happy Puppet cards ---------- */
.pp-brandbar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.paw {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.paw span {
  position: absolute;
  border-radius: 50%;
  background: var(--wine);
}

.paw .pad {
  width: 14px;
  height: 14px;
  bottom: 0;
  left: 10px;
}

.paw .toe {
  width: 8px;
  height: 8px;
}

.paw .t1 {
  top: 0;
  left: 1px;
}

.paw .t2 {
  top: -3px;
  left: 13px;
}

.paw .t3 {
  top: 0;
  left: 25px;
}

.quote-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.quote-card:hover {
  transform: rotate(-1deg) translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quote-card .quote-text {
  font-family: var(--ff-display);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--sage-dark);
}

.quote-card .quote-topic {
  display: inline-block;
  margin-top: 16px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
}

.follow-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.follow-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  flex: 1 1 240px;
}

.follow-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.follow-btn i {
  font-size: 1.6rem;
}

.follow-btn .fa-instagram {
  color: #C13584;
}

.follow-btn .fa-facebook {
  color: #1877F2;
}

.follow-btn .fa-youtube {
  color: #FF0000;
}

.follow-btn strong {
  display: block;
  font-size: .95rem;
}

.follow-btn span {
  font-size: .78rem;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--sage-dark);
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(43, 40, 35, .14);
  background: var(--linen);
  transition: border-color .3s var(--ease);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--wine);
  outline: none;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-row i {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-dark);
  flex-shrink: 0;
}

.info-row strong {
  display: block;
  font-size: .95rem;
  margin-bottom: 2px;
}

.info-row span,
.info-row a {
  font-size: .9rem;
  color: var(--ink-soft);
}

.map-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

.disclaimer {
  font-size: .82rem;
  color: var(--ink-soft);
  background: var(--sage-soft);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 26px;
  line-height: 1.6;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--sage-dark);
  border-radius: var(--radius-lg);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  color: var(--linen);
}

.cta-banner h2 {
  color: var(--white);
  max-width: 480px;
}

.cta-banner .lede {
  color: rgba(250, 247, 240, .75);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--sage-dark);
  color: rgba(250, 247, 240, .82);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-grid h4 {
  color: var(--white);
  font-family: var(--ff-body);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-grid ul li {
  margin-bottom: 11px;
  font-size: .92rem;
}

.footer-grid a:hover {
  color: var(--gold);
}

.footer-brand p {
  margin-top: 14px;
  font-size: .9rem;
  line-height: 1.7;
  max-width: 320px;
  color: rgba(250, 247, 240, .65);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 240, .12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .8rem;
  color: rgba(250, 247, 240, .55);
}

@media (max-width:780px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Reveal-on-scroll ----------
   GSAP (js/main.js) sets the initial hidden state via inline styles and
   animates to visible on scroll. No default opacity:0 here on purpose -
   if a script fails to load, this content must still be readable. */
.reveal,
.reveal-stagger>* {}

.reveal.is-visible,
.reveal-stagger.is-visible>* {
  opacity: 1;
  transform: none;
}

/* ---------- Page hero (non-home pages) ---------- */
.page-hero {
  padding: clamp(150px, 16vw, 190px) 0 70px;
  position: relative;
  overflow: hidden;
}

.page-hero--center {
  text-align: center;
}
.page-hero--center .lede {
  margin-inline: auto;
}

.page-hero h1 {
  font-family: var(--ff-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  color: var(--sage-dark);
  font-weight: 600;
  letter-spacing: -.01em;
}

.breadcrumb {
  font-size: .82rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.breadcrumb a:hover {
  color: var(--wine);
}

/* =====================================================
   Motion & media upgrade - Three.js halo canvas, GSAP hooks,
   marquee, IG-style tile grid, horizontal pinned scroller,
   floating Happy Puppet widget, paw icon
   ===================================================== */

/* ---------- Paw icon (replaces old div-based paw) ---------- */
.paw-icon {
  color: var(--wine);
  display: inline-block;
}

.paw-icon.on-deep {
  color: var(--gold);
}

.paw-icon.on-white {
  color: var(--white);
}

/* ---------- Three.js halo canvas layer ---------- */
.halo-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.halo-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-visual .halo-canvas-wrap {
  inset: -25%;
}

/* ---------- GSAP entrance hooks (initial state before JS runs) ---------- */
.hero-enter {
  opacity: 0;
}

.hero-ring-draw {
  opacity: 0;
}

html.no-js .hero-enter,
html.no-js .hero-ring-draw {
  opacity: 1;
}

/* ---------- Marquee (auto-scrolling quote ticker) ---------- */
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
}

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

.marquee-track.reverse {
  animation-direction: reverse;
  animation-duration: 44s;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

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

.marquee .quote-card {
  min-width: 300px;
  max-width: 340px;
  flex: 0 0 auto;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }

  .marquee {
    overflow-x: auto;
  }
}

/* ---------- IG-style tile grid (placeholder for real posts) ---------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.ig-tile {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--tile-grad, linear-gradient(135deg, var(--sage), var(--wine)));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, .92);
  transition: transform .4s var(--ease);
}

.ig-tile:hover {
  transform: scale(1.04);
}

.ig-tile i {
  font-size: 1.4rem;
  opacity: .85;
}

.ig-tile span {
  font-size: .66rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  padding: 0 10px;
  opacity: .85;
}

.ig-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, .18);
}

@media (max-width:640px) {
  .ig-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

/* ---------- Horizontal pinned scroller (Expertise modalities) ---------- */
.modality-pin {
  position: relative;
  overflow: hidden;
}

.modality-track {
  display: flex;
  gap: 28px;
  will-change: transform;
  padding: 6px 6px 6px 0;
}

.modality-card {
  flex: 0 0 min(78vw, 420px);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43, 40, 35, .05);
}

@media (min-width:900px) {
  .modality-card {
    flex: 0 0 420px;
  }

  .modality-pin {
    height: 100vh;
    display: flex;
    align-items: center;
  }
}

/* ---------- Floating Happy Puppet widget ---------- */
.pp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  opacity: 0;
  transform: translateY(16px) scale(.92);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none;
}

.pp-float.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.pp-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  position: relative;
  flex-shrink: 0;
}

.pp-float-btn::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid var(--wine);
  opacity: .55;
  animation: pp-pulse 2.6s ease-out infinite;
}

@keyframes pp-pulse {
  0% {
    transform: scale(.85);
    opacity: .55;
  }

  70% {
    transform: scale(1.35);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.pp-float-btn svg {
  width: 24px;
  height: 24px;
  color: var(--linen);
}

.pp-float-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 190px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.pp-float.is-open .pp-float-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.pp-float-panel p {
  font-size: .8rem;
  font-weight: 700;
  color: var(--sage-dark);
}

.pp-float-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--ink);
}

.pp-float-panel a:hover {
  color: var(--wine);
}

@media (prefers-reduced-motion: reduce) {
  .pp-float-btn::before {
    animation: none;
  }
}

@media (max-width:540px) {
  .pp-float {
    right: 16px;
    bottom: 16px;
  }
}

/* ---------- Misc responsive ---------- */
@media (max-width:980px) {
  .hero {
    min-height: auto;
    padding: 100px 0 40px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 24px;
  }

  .hero-credentials {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 20px;
    max-width: 300px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 44px 28px;
  }
}

@media (max-width:540px) {
  .hero-visual {
    max-width: 240px;
  }

  .cta-banner,
  .contact-card {
    padding: 28px;
  }

  .hero-badge {
    display: none;
  }
}

/* =====================================================
   PHASE 2 - real imagery, floating brand widget,
   GSAP/Three.js-ready hooks
   ===================================================== */

/* ---------- Photographic frames (duotone-matched to palette) ---------- */
.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, rgba(44, 61, 49, .38), rgba(124, 59, 73, .22) 60%, transparent);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.img-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(250, 247, 240, .45);
  border-radius: calc(var(--radius-lg) - 14px);
  z-index: 2;
  pointer-events: none;
}

.img-frame .img-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 3;
  background: rgba(250, 247, 240, .92);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--sage-dark);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.img-frame--tall {
  aspect-ratio: 4/5;
}

.img-frame--wide {
  aspect-ratio: 16/10;
}

.img-frame--square {
  aspect-ratio: 1/1;
}

.split-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width:900px) {
  .split-media {
    grid-template-columns: 1fr;
  }
}

.split-media.reverse>*:first-child {
  order: 2;
}

/* ---------- Hero 3D background canvas ---------- */
.hero-canvas-wrap-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.9;
}

.hero-canvas-wrap-bg canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Callout strips (cross-page Happy Puppet mentions) ---------- */
.pp-callout {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1.5px dashed rgba(124, 59, 73, .35);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  margin-top: 28px;
}

.pp-callout .paw {
  flex-shrink: 0;
}

.pp-callout p {
  font-size: .92rem;
  color: var(--ink-soft);
  margin: 0;
}

.pp-callout a {
  color: var(--wine);
  font-weight: 700;
}

.pp-callout a:hover {
  text-decoration: underline;
}

/* ---------- Floating Happy Puppet widget (persistent, all pages) ---------- */
.pp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0;
}

.pp-float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--wine);
  color: var(--white);
  border-radius: 999px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.pp-float-btn .paw span {
  background: var(--linen);
}

.pp-float-ring {
  position: absolute;
  inset: -6px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  opacity: .6;
}

.pp-float-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 700;
  transition: max-width .4s var(--ease), padding .4s var(--ease);
}

.pp-float:hover .pp-float-label,
.pp-float.is-open .pp-float-label {
  max-width: 160px;
  padding-right: 6px;
}

.pp-float-panel {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  width: 220px;
  opacity: 0;
  transform: translateY(12px) scale(.96);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}

.pp-float.is-open .pp-float-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.pp-float-panel strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--sage-dark);
}

.pp-float-panel p {
  font-size: .78rem;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.pp-float-panel .follow-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pp-float-panel .follow-btn {
  flex: 1 1 auto;
  padding: 9px 10px;
  font-size: .78rem;
  box-shadow: none;
  border: 1px solid rgba(43, 40, 35, .08);
}

.pp-float-panel .follow-btn strong {
  font-size: .8rem;
}

.pp-float-panel .follow-btn span {
  display: none;
}

@media (max-width:640px) {
  .pp-float {
    right: 14px;
    bottom: 14px;
  }

  .pp-float-panel {
    width: 200px;
  }
}

/* ---------- Facebook live-feed embed wrapper ---------- */
.fb-feed-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.fb-feed-card .fb-page {
  width: 100%;
}

.fb-feed-label {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
}

.fb-feed-label i {
  color: #1877F2;
  font-size: 1.3rem;
}

.fb-feed-label span {
  font-weight: 700;
  font-size: .92rem;
}

/* GSAP will set initial state via JS; these are graceful no-JS fallbacks */
.gsplit {
  display: inline-block;
}

/* ---------- Page-hero background photography (Expertise / Contact) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--linen) 38%, rgba(250, 247, 240, .78) 60%, rgba(250, 247, 240, .35));
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero .halo-field {
  z-index: 1;
}

/* Premium teasers style overrides */
.img-frame--offset {
  position: relative;
  z-index: 1;
}

.img-frame--offset::before {
  content: "";
  position: absolute;
  inset: 12px -12px -12px 12px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  z-index: -1;
  pointer-events: none;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.img-frame--offset:hover::before {
  transform: translate(6px, -6px);
  border-color: var(--wine);
}

.philosophy-card {
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--wine);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-left-color 0.4s var(--ease);
}

.philosophy-card::before {
  content: "“";
  position: absolute;
  top: -24px;
  left: 12px;
  font-family: var(--ff-display);
  font-size: 9rem;
  color: var(--wine);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.philosophy-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--gold);
}

@media (max-width: 980px) {
  .img-frame--offset::before {
    inset: 8px -8px -8px 8px;
  }
}

/* Timeline Cards */
.timeline-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(63, 110, 132, 0.06);
  margin-top: 10px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), border-left 0.4s var(--ease);
  border-left: 0px solid transparent;
}

.timeline-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 106, 83, 0.25);
}

.timeline-item.is-active .timeline-card {
  border-left: 4px solid var(--wine);
  border-color: rgba(200, 106, 83, 0.15);
  box-shadow: var(--shadow-md);
}

/* ---------- Community / Public Health Milestone Timeline ---------- */
.community-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 980px) {
  .community-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.community-timeline {
  position: relative;
  padding-left: 56px;
  margin-top: 24px;
}

.community-timeline::after {
  content: "";
  position: absolute;
  left: 20px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(43, 40, 35, 0.06);
  z-index: 1;
}

.community-timeline-progress {
  position: absolute;
  left: 20px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--wine), var(--gold));
  z-index: 2;
  transform-origin: top;
  transform: scaleY(0);
}

.community-milestone {
  position: relative;
  padding-bottom: 28px;
  z-index: 3;
}

.community-milestone:last-child {
  padding-bottom: 0;
}

.community-milestone-marker {
  position: absolute;
  left: -56px;
  top: 2px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(43, 40, 35, 0.1);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  z-index: 3;
  box-shadow: var(--shadow-sm);
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.community-milestone.is-active .community-milestone-marker {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 0 0 5px rgba(200, 106, 83, 0.2);
}

.community-milestone-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43, 40, 35, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), border-left 0.4s var(--ease);
  border-left: 0px solid transparent;
}

.community-milestone-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 106, 83, 0.2);
}

.community-milestone.is-active .community-milestone-card {
  border-left: 4px solid var(--gold);
  border-color: rgba(217, 172, 112, 0.15);
}

.community-milestone-date {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--wine);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.community-milestone-title {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--sage-dark);
  margin-top: 4px;
}

.community-milestone-desc {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 4px;
  line-height: 1.5;
}

/* =====================================================
   Interactive Modality Explorer & Horizontal Roadmap
   ===================================================== */
.explorer-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.explorer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.explorer-tab {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  border: 1px solid rgba(43, 40, 35, 0.05);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}

.explorer-tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}

.explorer-tab-text {
  display: flex;
  flex-direction: column;
}

.explorer-tab-text span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--wine);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.explorer-tab-text h4 {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--sage-dark);
  margin-top: 2px;
}

.explorer-tab:hover {
  transform: translateX(6px);
  border-color: rgba(200, 106, 83, 0.2);
  box-shadow: var(--shadow-sm);
}

.explorer-tab.is-active {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  box-shadow: var(--shadow-md);
}

.explorer-tab.is-active .explorer-tab-icon {
  background: var(--gold);
  color: var(--sage-dark);
  transform: rotate(360deg);
}

.explorer-tab.is-active .explorer-tab-text span {
  color: var(--gold);
}

.explorer-tab.is-active .explorer-tab-text h4 {
  color: var(--white);
}

/* Explorer Pane Details */
.explorer-panes {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(43, 40, 35, 0.05);
  min-height: 450px;
  position: relative;
  overflow: hidden;
}

.explorer-pane {
  display: none;
  opacity: 0;
  transform: scale(0.98) translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.explorer-pane.is-active {
  display: block;
  opacity: 1;
  transform: scale(1) translateY(0);
}

.explorer-pane h3 {
  font-size: 1.8rem;
  color: var(--sage-dark);
  font-family: var(--ff-display);
  font-weight: 600;
  margin-bottom: 16px;
}

.explorer-pane .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
  margin-bottom: 8px;
}

.explorer-pane p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Modality Stats Grid */
.modality-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
  border-top: 1px solid rgba(43, 40, 35, 0.08);
  padding-top: 28px;
}

.m-stat-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-stat-card label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--wine);
  letter-spacing: 0.05em;
}

.m-stat-card strong {
  font-size: 0.95rem;
  color: var(--sage-dark);
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .explorer-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .explorer-panes {
    padding: 30px 24px;
    min-height: auto;
  }

  .modality-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ---------- Horizontal Roadmap (How a plan comes together) ---------- */
.roadmap-container {
  position: relative;
  margin-top: 40px;
}

.roadmap-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.roadmap-progress-line-bg {
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: rgba(43, 40, 35, 0.06);
  z-index: 1;
}

.roadmap-progress-line {
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(to right, var(--wine), var(--gold));
  z-index: 2;
  transform-origin: left;
  transform: scaleX(0);
}

.roadmap-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 3;
}

.roadmap-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid rgba(43, 40, 35, 0.1);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.roadmap-step.is-active .roadmap-number {
  background: var(--wine);
  border-color: var(--wine);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 0 0 6px rgba(200, 106, 83, 0.2);
}

.roadmap-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43, 40, 35, 0.05);
  margin-top: 24px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.roadmap-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 106, 83, 0.2);
}

.roadmap-card h3 {
  font-size: 1.15rem;
  color: var(--sage-dark);
  font-weight: 600;
  font-family: var(--ff-body);
}

.roadmap-card p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 8px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .roadmap-track {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .roadmap-progress-line-bg,
  .roadmap-progress-line {
    display: none;
  }

  .roadmap-step {
    flex-direction: row;
    text-align: left;
    gap: 20px;
    align-items: flex-start;
  }

  .roadmap-number {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .roadmap-card {
    margin-top: 0;
    flex: 1;
  }
}

/* =====================================================
   Happy Puppet Interactive Social Feed Redesign
   ===================================================== */
.puppet-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.puppet-filter-bar .chip {
  cursor: pointer;
  transition: all 0.3s var(--ease);
  user-select: none;
}

.puppet-filter-bar .chip:hover {
  border-color: var(--wine);
  background: var(--sage-soft);
  transform: translateY(-2px);
}

.puppet-filter-bar .chip.is-active {
  background: var(--wine);
  color: var(--white);
  border-color: var(--wine);
  box-shadow: var(--shadow-sm);
}

.puppet-filter-bar .chip.is-active i {
  color: var(--gold);
}

/* Social Grid Layout */
.social-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 28px;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(43, 40, 35, 0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), opacity 0.4s ease;
}

.post-card.is-hidden {
  display: none;
  opacity: 0;
}

.post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* Header */
.post-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(43, 40, 35, 0.05);
}

.post-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--gold);
}

.post-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-user-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.post-user-info strong {
  font-size: 0.88rem;
  color: var(--sage-dark);
  font-weight: 600;
}

.post-verified {
  color: #1877F2;
  font-size: 0.75rem;
}

/* Graphic Aspect */
.post-graphic {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

/* Color palettes for different topics */
.post-graphic.theme-detection {
  background: linear-gradient(135deg, #2C3D31, #3F6E84);
  /* Sage/Forest gradient */
}

.post-graphic.theme-myth {
  background: linear-gradient(135deg, #C86A53, #7C3B49);
  /* Wine/Terracotta gradient */
}

.post-graphic.theme-caregiver {
  background: linear-gradient(135deg, #182B38, #3F6E84);
  /* Deep blue/Sage gradient */
}

.post-graphic.theme-nutrition {
  background: linear-gradient(135deg, #4A5B66, #2C3D31);
  /* Dark grey/Forest gradient */
}

.post-graphic.theme-encouragement {
  background: linear-gradient(135deg, #7C3B49, #D9AC70);
  /* Wine/Gold gradient */
}

.post-graphic.theme-reminders {
  background: linear-gradient(135deg, #C86A53, #D9AC70);
  /* Wine/Gold gradient */
}

/* Inner card graphic typography */
.post-graphic .graphic-quote {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.post-graphic .graphic-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(250, 247, 240, 0.15);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(250, 247, 240, 0.25);
  position: relative;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.post-graphic::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1.5px solid rgba(250, 247, 240, 0.15);
  border-radius: var(--radius-sm);
  pointer-events: none;
}

/* Card Actions */
.post-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 8px;
}

.action-left {
  display: flex;
  gap: 16px;
}

.action-btn {
  font-size: 1.25rem;
  color: var(--sage-dark);
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
  cursor: pointer;
}

.action-btn:hover {
  transform: scale(1.15);
}

.action-btn.btn-like:hover,
.action-btn.btn-like.liked {
  color: #E0245E;
}

.action-btn.btn-like.liked i {
  font-weight: 900;
}

.likes-row {
  padding: 0 18px 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage-dark);
}

.post-caption {
  padding: 0 18px 18px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.post-caption strong {
  color: var(--sage-dark);
  margin-right: 6px;
}

/* Floating heart burst animation */
.heart-burst-container {
  position: absolute;
  pointer-events: none;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heart-burst-icon {
  font-size: 5rem;
  color: rgba(224, 36, 94, 0.9);
  transform: scale(0);
  animation: heartPopEffect 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes heartPopEffect {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  30% {
    transform: scale(1.2);
    opacity: 1;
  }

  60% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0.8) translateY(-40px);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .social-gallery-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
}

/* Feed Grid Layout for Happy Puppet */
.feed-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 980px) {
  .feed-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feed-grid>.reveal {
    position: static !important;
    /* Remove sticky positioning on mobile/tablet so it flows naturally */
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
  }
}

/* ---------- Premium Contact Page Elements ---------- */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-tile {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  border: 1px solid rgba(43, 40, 35, 0.05);
  border-left: 4px solid var(--sage);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), border-left-color 0.4s var(--ease);
}

.contact-info-tile:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 106, 83, 0.2);
  border-left-color: var(--wine);
}

.contact-info-tile i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.contact-info-tile:hover i {
  background: var(--wine);
  color: var(--white);
}

.contact-info-tile strong {
  display: block;
  font-size: 0.95rem;
  color: var(--sage-dark);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-tile span,
.contact-info-tile a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.contact-info-tile a:hover {
  color: var(--wine);
  text-decoration: underline;
}

.map-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
  border: 1px solid rgba(43, 40, 35, 0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.map-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.map-card iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
  filter: grayscale(0.15) contrast(1.05);
  transition: filter 0.4s ease;
}

.map-card:hover iframe {
  filter: grayscale(0);
}

.contact-card .field input,
.contact-card .field textarea {
  background: var(--white);
  border: 1.5px solid rgba(43, 40, 35, 0.1);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-card .field input:focus,
.contact-card .field textarea:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 4px rgba(200, 106, 83, 0.1);
}

/* =====================================================
   Language Switcher Styles
   ===================================================== */
.lang-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(250, 247, 240, 0.05);
  border: 1px solid rgba(250, 247, 240, 0.12);
  padding: 4px 10px;
  border-radius: 20px;
}

.lang-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(250, 247, 240, 0.6);
  padding: 2px 6px;
  border-radius: 12px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  color: var(--white);
}

.lang-btn.is-active {
  color: var(--sage-dark);
  background: var(--gold);
}

.lang-divider {
  color: rgba(250, 247, 240, 0.2);
  font-size: 0.8rem;
  user-select: none;
}

/* Float the language switcher in the bottom-right above Happy Puppet & WhatsApp */
.mobile-lang-float {
  position: fixed;
  right: 22px;
  bottom: 160px;
  z-index: 1000;
  background: var(--sage-dark);
  border: 1.5px solid var(--gold);
  box-shadow: var(--shadow-lg);
  padding: 6px 12px;
  border-radius: 999px;
}

.mobile-lang-float .lang-btn {
  font-size: 0.85rem;
  padding: 4px 8px;
}

@media (max-width: 640px) {
  .mobile-lang-float {
    right: 14px;
    bottom: 140px;
  }
}

/* Responsiveness overrides for buttons with long text */
@media (max-width: 768px) {
  .btn {
    white-space: normal;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* ---------- Hero Trust Bar ---------- */
.hero-trust-bar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 30px;
}

.trust-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trust-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--wine);
}

.trust-logos,
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
}

/* Vertical card style for logos and names */
.logo-card {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease);
}

.logo-card:hover {
  transform: translateY(-3px);
}

.logo-wrapper {
  background: var(--white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(43, 40, 35, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;  /* Increased from 38px */
  width: 72px;   /* Consistent width for grid look */
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease);
}

.logo-card:hover .logo-wrapper {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}

.trust-logo {
  height: 30px;  /* Increased from 24px */
  width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: all 0.35s var(--ease);
}

.logo-card:hover .trust-logo {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-wrapper.text-logo {
  background: var(--sage-dark);
  color: var(--gold);
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 6px 10px;
}

.logo-card:hover .logo-wrapper.text-logo {
  background: var(--wine);
  color: var(--white);
}

.logo-name {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s var(--ease);
}

.logo-card:hover .logo-name {
  color: var(--wine);
}

/* Badge links styling */
.inst-badge-link {
  text-decoration: none;
  display: inline-flex;
  cursor: pointer;
}

.inst-badge {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(43, 40, 35, 0.1);
  color: var(--sage-dark);
  padding: 6px 14px;
  border-radius: var(--radius-lg);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

.inst-badge i {
  color: var(--wine);
  font-size: 0.75rem;
}

.inst-badge-link:hover .inst-badge {
  border-color: var(--gold);
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Responsiveness alignment */
@media (max-width: 980px) {
  .hero-trust-bar {
    align-items: center;
  }

  .trust-logos,
  .trust-badges {
    justify-content: center;
  }

  /* Keep logos colored and disable translation jump on mobile/touch screens */
  .trust-logo {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
  }
  
  .logo-card:hover {
    transform: none !important;
  }
  
  .logo-card:hover .logo-wrapper {
    border-color: rgba(43, 40, 35, 0.08) !important;
    box-shadow: var(--shadow-sm) !important;
  }

  .logo-card:hover .logo-name {
    color: var(--ink-soft) !important;
  }

  .inst-badge-link:hover .inst-badge {
    transform: none !important;
    border-color: rgba(43, 40, 35, 0.1) !important;
    background: rgba(255, 255, 255, 0.75) !important;
    box-shadow: var(--shadow-sm) !important;
  }
}

@media (max-width: 576px) {
  .trust-logos,
  .trust-badges {
    gap: 8px;
  }

  .inst-badge {
    padding: 6px 10px;
    font-size: 0.75rem;
    white-space: normal;
    text-align: center;
    word-break: break-word;
  }
}

/* ============================================================
   FAQ & ACCORDION SECTION
   ============================================================ */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid rgba(24, 43, 56, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.faq-item:hover {
  border-color: rgba(63, 110, 132, 0.2);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.faq-item.is-open {
  border-color: var(--sage);
  box-shadow: var(--shadow-md);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  padding: 24px 28px;
  background: transparent;
  border: none;
  transition: color 0.3s ease;
}

.faq-trigger:focus-visible {
  outline: none;
}

.faq-item:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 172, 112, 0.35), var(--shadow-md);
  outline: none;
}

.faq-number {
  font-family: var(--ff-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
  margin-right: 20px;
  flex-shrink: 0;
}

.faq-question-text {
  flex-grow: 1;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--sage-dark);
  line-height: 1.45;
  padding-right: 18px;
  font-family: var(--ff-body);
}

.faq-trigger:hover .faq-question-text {
  color: var(--wine);
}

.faq-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--linen-deep);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease), color 0.3s var(--ease);
}

.faq-item.is-open .faq-icon-wrap {
  transform: rotate(135deg);
  background-color: var(--wine);
  color: var(--white);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-inline: 28px;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.faq-item.is-open .faq-panel {
  opacity: 1;
}

.faq-content {
  padding: 0 0 24px 44px;
}

.faq-content p {
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 0.98rem;
  font-weight: 400;
}

/* ============================================================
   FAQ Pagination
   ============================================================ */
.faq-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
}

.faq-page-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(24, 43, 56, 0.12);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: var(--white);
  transition: all 0.3s var(--ease);
}

.faq-page-btn:hover:not(:disabled) {
  border-color: var(--wine);
  background: var(--wine);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.faq-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(24, 43, 56, 0.03);
  border-color: rgba(24, 43, 56, 0.05);
}

.faq-page-numbers {
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-page-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(24, 43, 56, 0.12);
  color: var(--sage-dark);
  font-weight: 600;
  font-size: 1rem;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}

.faq-page-num:hover:not(.active) {
  border-color: var(--wine);
  color: var(--wine);
  background: rgba(200, 106, 83, 0.04);
}

.faq-page-num.active {
  background: var(--wine);
  color: var(--white);
  border-color: var(--wine);
  box-shadow: var(--shadow-sm);
}

/* Adjustments for responsive viewports */
@media (max-width: 768px) {
  .faq-trigger {
    padding: 20px 22px;
  }
  
  .faq-number {
    margin-right: 14px;
    font-size: 1.1rem;
  }
  
  .faq-question-text {
    font-size: 1.02rem;
  }
  
  .faq-icon-wrap {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  
  .faq-panel {
    padding-inline: 22px;
  }
  
  .faq-content {
    padding: 0 0 20px 30px;
  }
  
  .faq-content p {
    font-size: 0.94rem;
  }
}

/* Dynamic filter pagination hidden class */
.faq-item.is-hidden,
.gallery-card.is-hidden {
  display: none !important;
}

/* ============================================================
   Floating WhatsApp Button
   ============================================================ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 92px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366; /* Official WhatsApp green */
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35), var(--shadow-md);
  z-index: 1290;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45), var(--shadow-lg);
  background-color: #20ba5a;
  color: var(--white);
}

.wa-float:active {
  transform: translateY(-1px) scale(0.98);
}

.appt-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wine);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 8px 24px rgba(200, 106, 83, 0.32), var(--shadow-md);
  z-index: 1290;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.appt-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(200, 106, 83, 0.4), var(--shadow-lg);
  background-color: #b4553d;
  color: var(--white);
}

.appt-float:active {
  transform: translateY(-1px) scale(0.98);
}

.appt-float-tooltip {
  position: absolute;
  right: 66px;
  bottom: 14px;
  background: rgba(20, 20, 20, 0.92);
  color: var(--white);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.appt-float:hover .appt-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.wa-float .wa-float-tooltip,
.appt-float .appt-float-tooltip {
  position: absolute;
  right: 66px;
  bottom: 14px;
  background: rgba(20, 20, 20, 0.92);
  color: var(--white);
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-float:hover .wa-float-tooltip,
.appt-float:hover .appt-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}


/* Tooltip */
.wa-float-tooltip {
  position: absolute;
  right: 74px;
  background: var(--sage-dark);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(250, 247, 240, 0.08);
}

.wa-float-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--sage-dark);
  border-right: 1px solid rgba(250, 247, 240, 0.08);
  border-top: 1px solid rgba(250, 247, 240, 0.08);
}

.wa-float:hover .wa-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 1024px) {
  .wa-float,
  .appt-float,
  .mobile-lang-float {
    right: 16px;
  }

  .wa-float {
    bottom: 158px;
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
  
  .appt-float {
    bottom: 98px;
    width: 52px;
    height: 52px;
    font-size: 1.35rem;
  }

  .mobile-lang-float {
    bottom: 18px;
  }

  .wa-float-tooltip,
  .appt-float-tooltip {
    display: none;
  }
}

@media (max-width: 540px) {
  .wa-float,
  .appt-float {
    width: 52px;
    height: 52px;
  }
}

/* =====================================================
   GALLERY PAGE STYLES (Tabs & Cards)
   ===================================================== */
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 45px;
  padding: 12px 8px;
}

.gallery-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid rgba(43, 40, 35, 0.12);
  color: var(--sage-dark);
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}

.gallery-chip:hover {
  background: var(--sage-soft);
  border-color: var(--wine);
  color: var(--wine);
  transform: translateY(-2px);
}

.gallery-chip.is-active {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--gold);
  box-shadow: var(--shadow-md);
}

.gallery-chip i {
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.gallery-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43, 40, 35, 0.08);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.gallery-card.is-hidden {
  display: none !important;
}

.gallery-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: var(--sage-dark);
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 43, 56, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  transform: scale(0.8);
  transition: transform 0.35s var(--ease);
}

.gallery-card:hover .gallery-zoom-icon {
  transform: scale(1);
}

.gallery-caption {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.gallery-cat-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--wine);
  background: var(--sage-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.gallery-title {
  font-family: var(--ff-body);
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--sage-dark);
  margin: 0;
  font-weight: 600;
}

@media (max-width: 640px) {
  .gallery-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 12px 8px 16px 8px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .gallery-chip {
    flex: 0 0 auto;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ============================================================
   Awards & Recognition Section
   ============================================================ */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.award-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(43, 40, 35, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.award-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 106, 83, 0.15);
}

.award-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: pointer;
  background: var(--sage-dark);
}

.award-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

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

.award-card:hover .gallery-overlay {
  opacity: 1;
}

.award-card:hover .gallery-zoom-icon {
  transform: scale(1);
}

.award-content {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--wine);
  background: var(--sage-soft);
  padding: 4px 12px;
  border-radius: 999px;
  align-self: flex-start;
}

.award-badge i {
  color: var(--gold);
}

.award-title {
  font-family: var(--ff-body);
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--sage-dark);
  margin: 0;
  font-weight: 600;
}

@media (max-width: 980px) {
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .award-title {
    font-size: 0.98rem;
  }
}

/* --- Lightbox Modal Navigation --- */
.swal-lightbox-nav-btn {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 100;
  background: rgba(24, 43, 56, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--linen);
  border: 1px solid rgba(250, 247, 240, 0.15);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-md);
}

.swal-lightbox-nav-btn:hover {
  background: var(--sage-dark);
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.swal-lightbox-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.swal-lightbox-prev {
  left: -24px;
}

.swal-lightbox-next {
  right: -24px;
}

@media (max-width: 768px) {
  .swal-lightbox-prev {
    left: -12px;
  }
  .swal-lightbox-next {
    right: -12px;
  }
  .swal-lightbox-nav-btn {
    width: 38px;
    height: 38px;
  }
}

/* Ensure the SweetAlert2 lightbox modal container sits above the fixed site-header (z-index: 2000) */
.swal2-container {
  z-index: 3000 !important;
}