/* ==========================================================================
   Aarambha AstroVasstu Science - design tokens & base styles
   ========================================================================== */
:root {
  --color-bg: #0a0b0f;
  --color-bg-alt: #11141b;
  --color-surface: #171a22;
  /* Brand accent, taken from the Aarambha logo mark (the orange star).
     Used for actions: buttons, nav, links, interactive glows. */
  --color-gold: #e75826;
  --color-gold-light: #f58b5e;
  --color-gold-dark: #b93f14;
  --color-gold-rgb: 231, 88, 38;
  /* Brand secondary, taken from the Aarambha wordmark (deep green).
     Used for informational accents on light backgrounds: eyebrows, dividers,
     card icons, outline buttons, tags - so both logo colours actually show up. */
  --color-green: #15493c;
  --color-green-light: #1f6b56;
  --color-green-rgb: 21, 73, 60;
  --color-cream: #f7f3ea;
  --color-cream-alt: #f1ead9;
  --color-ink: #1c1b18;
  --color-ink-soft: #3c3a35;
  --color-muted: #867f6d;
  --color-border: #e4dcc6;
  --color-success: #3f7a4f;
  --color-warning: #b9802b;
  --color-danger: #a23c3c;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', 'Segoe UI', Arial, sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --shadow-soft: 0 10px 30px rgba(10, 10, 10, 0.08);
  --shadow-gold: 0 18px 40px rgba(var(--color-gold-rgb), 0.22);
  --shadow-green: 0 18px 40px rgba(var(--color-green-rgb), 0.18);
  --shadow-deep: 0 20px 50px rgba(0, 0, 0, 0.35);
  --container: 1180px;
  --ease: cubic-bezier(.22,.9,.3,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-cream);
  color: var(--color-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; margin: 0 0 .5em; color: var(--color-ink); }
p { margin: 0 0 1em; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; }
.section { padding: 84px 0; position: relative; }
.section--alt { background: var(--color-cream-alt); }
.section--dark {
  background:
    radial-gradient(circle at 12% 15%, rgba(231,88,38,.12), transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(21,73,60,.35), transparent 45%),
    var(--color-bg);
  color: var(--color-cream);
}
.section--dark h1, .section--dark h2, .section--dark h3,
.hero h1, .hero h2, .hero h3 { color: var(--color-cream); }
.eyebrow {
  display: inline-block;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: .75rem;
  color: var(--color-green);
  font-weight: 600;
  margin-bottom: .75em;
  position: relative;
  padding-bottom: .6em;
}
.eyebrow::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 36px; height: 2px; background: linear-gradient(90deg, transparent, var(--color-green), transparent);
}
.hero .eyebrow::after, .section--dark .eyebrow::after { background: linear-gradient(90deg, transparent, var(--color-gold-light), transparent); }
.section--dark .eyebrow { color: var(--color-gold-light); }
.lead { font-size: 1.15rem; color: var(--color-ink-soft); max-width: 60ch; }
.section--dark .lead { color: #d9d3c2; }
.divider { width: 64px; height: 2px; background: var(--color-green); margin: 1.25em 0; border: 0; }
.hero .divider, .section--dark .divider { background: var(--color-gold-light); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ---- Motion: scroll-reveal + respect for reduced-motion ---- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .03s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .11s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .19s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .27s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .35s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .43s; }

@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shine { 0% { transform: translateX(-120%) skewX(-15deg); } 100% { transform: translateX(220%) skewX(-15deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; font-size: .95rem;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%) skewX(-15deg); transition: none;
}
.btn:hover::before { animation: shine .9s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--color-gold); color: var(--color-ink); }
.btn-primary:hover { background: var(--color-gold-light); box-shadow: var(--shadow-gold); }
.btn-outline { background: transparent; border-color: var(--color-green); color: var(--color-green); }
.section--dark .btn-outline { color: var(--color-gold-light); border-color: var(--color-gold-light); }
.btn-outline:hover { background: rgba(var(--color-green-rgb), .1); box-shadow: var(--shadow-green); }
.section--dark .btn-outline:hover { background: rgba(var(--color-gold-rgb), .12); box-shadow: var(--shadow-gold); }
.btn-block { width: 100%; justify-content: center; }
.btn-small { padding: .5em 1em; font-size: .85rem; }
.btn-danger { background: var(--color-danger); color: #fff; }

/* Header / nav */
.site-header {
  background: rgba(10, 11, 15, .92); backdrop-filter: blur(8px); color: var(--color-cream);
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid rgba(var(--color-gold-rgb), .25);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; font-family: var(--font-display); transition: transform .3s var(--ease); }
.brand:hover { transform: scale(1.02); }

/* Full logo lockup (icon + wordmark), shown on its native white card so the
   brand's green/orange colours stay true regardless of surrounding theme. */
.brand-badge {
  display: inline-block; background: #fff; border-radius: var(--radius-md);
  padding: 14px 22px; box-shadow: var(--shadow-deep);
}
.brand-badge img { height: 54px; width: auto; display: block; }
.brand-badge.brand-badge-lg img { height: 84px; }
.brand-badge-header { padding: 7px 14px; border-radius: var(--radius-sm); box-shadow: none; }
.brand-badge-header img { height: 32px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: .92rem; color: #d9d3c2; position: relative; padding-bottom: 4px; transition: color .2s ease; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--color-gold-light); transition: right .28s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--color-gold-light); }
.nav a:hover::after, .nav a.active::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; color: var(--color-cream); font-size: 1.6rem; cursor: pointer; }
.header-cta { display: flex; align-items: center; gap: 14px; }

/* Nav dropdown submenus (Services, Numerology) */
.nav-item { position: relative; display: flex; align-items: center; gap: 2px; }
.submenu-toggle {
  background: none; border: 0; color: #d9d3c2; cursor: pointer; padding: 2px 2px 6px;
  font-size: .62rem; transition: color .2s ease, transform .2s ease; line-height: 1;
}
.submenu-toggle:hover { color: var(--color-gold-light); }
.nav-item.open .submenu-toggle, .nav-item:hover .submenu-toggle { color: var(--color-gold-light); }
.nav-item.open .submenu-toggle { transform: rotate(180deg); }
.submenu {
  list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: -14px;
  background: var(--color-bg); border: 1px solid rgba(var(--color-gold-rgb), .25); border-radius: var(--radius-md);
  min-width: 240px; box-shadow: var(--shadow-deep);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  z-index: 60;
}
.nav-item:hover .submenu, .nav-item:focus-within .submenu, .nav-item.open .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition: opacity .18s ease, transform .18s ease;
}
.submenu li a {
  display: block; padding: .55em .7em; font-size: .85rem; color: #d9d3c2; border-radius: 6px; white-space: normal;
}
.submenu li a::after { display: none; }
.submenu li a:hover { background: rgba(var(--color-gold-rgb), .12); color: var(--color-gold-light); }

@media (max-width: 880px) {
  .nav-item { flex-direction: column; align-items: flex-start; width: 100%; }
  .submenu {
    position: static; opacity: 1; visibility: hidden; transform: none; max-height: 0; overflow: hidden;
    border: 0; background: transparent; box-shadow: none; padding: 0; min-width: 0;
    transition: max-height .25s ease; width: 100%;
  }
  .nav-item.open .submenu { visibility: visible; max-height: 440px; padding: 4px 0 6px 14px; }
}

@media (max-width: 880px) {
  .nav {
    position: fixed; inset: 64px 0 0 0; background: var(--color-bg); flex-direction: column;
    padding: 32px 24px; gap: 20px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  }
  .nav.open {
    opacity: 1; visibility: visible; transform: translateY(0);
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav-toggle { display: block; }
  .header-cta .btn span { display: none; }
}

/* Footer */
.site-footer { background: var(--color-bg); color: #cfc9b8; padding: 56px 0 24px; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; position: relative; z-index: 1; }
.footer-grid h4 { color: var(--color-gold-light); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a, .footer-grid p { color: #b9b2a0; font-size: .92rem; }
.footer-grid a { transition: color .2s ease, padding-left .2s ease; display: inline-block; }
.footer-grid a:hover { color: var(--color-gold-light); padding-left: 4px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; color: #8b856f; text-align: center; position: relative; z-index: 1; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* Hero */
.hero {
  background:
    radial-gradient(circle at 85% 8%, rgba(var(--color-gold-rgb),.20), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(var(--color-green-rgb),.30), transparent 45%),
    var(--color-bg);
  color: var(--color-cream); padding: 110px 0 90px; text-align: center;
  position: relative; overflow: hidden;
}
.hero-motif {
  position: absolute; top: 50%; left: 50%; width: min(900px, 140vw); height: min(900px, 140vw);
  transform: translate(-50%, -50%); opacity: .14; pointer-events: none;
  animation: spinSlow 160s linear infinite;
}
.hero-content { position: relative; z-index: 1; animation: fadeIn 1s var(--ease); }
.hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); animation: floatY 7s ease-in-out infinite; }
.hero .tagline { font-size: 1.1rem; color: #d9d3c2; max-width: 56ch; margin: 0 auto 1.5em; }
.pillars { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 2em; }
.pillar {
  border: 1px solid rgba(var(--color-gold-rgb),.4); border-radius: 999px; padding: .5em 1.2em; font-size: .85rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--color-gold-light);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.pillar:hover { background: rgba(var(--color-gold-rgb),.14); transform: translateY(-3px); box-shadow: var(--shadow-gold); }

/* Grid / cards */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-soft); position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  scroll-margin-top: 96px;
}
@keyframes anchorHighlight {
  0%, 100% { box-shadow: var(--shadow-soft); }
  30% { box-shadow: 0 0 0 4px rgba(var(--color-gold-rgb), .35), var(--shadow-gold); }
}
.card:target { animation: anchorHighlight 1.8s ease; }
.card::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-green), var(--color-gold));
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-green); border-color: rgba(var(--color-green-rgb),.4); }
.card:hover::before { transform: scaleX(1); }

/* Subtle dot-texture that fades in behind the content on hover - gives every
   info box a bit of tactile depth instead of a flat hover state. */
.card::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(var(--color-green-rgb), 1) 1px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.card:hover::after { opacity: .07; }
.card > * { position: relative; z-index: 1; }

.card-icon {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(var(--color-green-rgb),.1);
  display: flex; align-items: center; justify-content: center; color: var(--color-green);
  margin-bottom: 1em; transition: background .3s ease, transform .3s var(--ease);
}
.card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { background: var(--color-green); color: #fff; transform: scale(1.08) rotate(-6deg); }
.card h3 { font-size: 1.2rem; }
.card .tags { font-size: .85rem; color: var(--color-gold-dark); font-weight: 600; }

.step-list { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.step-list li { counter-increment: step; position: relative; padding-left: 52px; transition: transform .25s ease; }
.step-list li:hover { transform: translateX(4px); }
.step-list li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px;
  border-radius: 50%; background: var(--color-green); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  box-shadow: 0 0 0 4px rgba(var(--color-green-rgb),.15);
}

.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--color-gold); }
.stat .label { text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; color: var(--color-muted); }
.section--dark .stat .label { color: #cfc9b8; }

/* Forms */
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4em; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: .75em .9em; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; background: #fff; color: var(--color-ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(var(--color-gold-rgb),.18);
}
.field-error { display: block; color: var(--color-danger); font-size: .82rem; margin-top: .35em; }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 32px; max-width: 540px; transition: box-shadow .3s ease; }
.form-card:hover { box-shadow: var(--shadow-gold); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.calc-hint { text-align: center; font-size: .8rem; color: var(--color-muted); margin: .7em 0 0; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: .92rem; animation: fadeIn .4s ease; }
.alert-success { background: #e7f3ea; color: var(--color-success); border: 1px solid #bfe0c8; }
.alert-error { background: #fbeaea; color: var(--color-danger); border: 1px solid #f0c6c6; }

/* Status pills */
.pill { display: inline-block; padding: .25em .85em; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .03em; }
.pill-new, .pill-payment_pending { background: #fdf0db; color: var(--color-warning); }
.pill-contacted, .pill-paid { background: #e3eefb; color: #2e5f94; }
.pill-closed, .pill-delivered { background: #e3f3e5; color: var(--color-success); }

/* Calculator widget */
.calc-result { margin-top: 20px; padding: 20px; border-radius: var(--radius-md); background: var(--color-cream-alt); border: 1px solid var(--color-border); animation: fadeIn .5s ease; }
.calc-result .number { font-family: var(--font-display); font-size: 2.4rem; color: var(--color-gold-dark); }

table.data-table { width: 100%; border-collapse: collapse; background: #fff; }
.data-table th, .data-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--color-border); font-size: .92rem; }
.data-table th { text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; color: var(--color-muted); }
.data-table tbody tr { transition: background .15s ease; }
.data-table tbody tr:hover { background: var(--color-cream-alt); }

.table-wrap { overflow-x: auto; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); }

/* Google Maps embed (Contact page) */
.map-embed {
  position: relative; width: 100%; padding-bottom: 42%; min-height: 320px;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft);
  border: 1px solid var(--color-border);
}
.map-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
@media (max-width: 640px) { .map-embed { padding-bottom: 80%; } }

/* ---- Services slider (home page) ---- */
.slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-bg-alt); box-shadow: var(--shadow-deep); }
.slider-track { display: flex; transition: transform .6s var(--ease); }
.slide { flex: 0 0 100%; display: grid; grid-template-columns: .9fr 1.1fr; gap: 10px; align-items: center; padding: 56px 64px; min-height: 360px; }
.slide-art { position: relative; display: flex; align-items: center; justify-content: center; height: 220px; }
.slide-art-ring {
  position: absolute; width: 200px; height: 200px; border-radius: 50%;
  border: 1.5px dashed rgba(231,88,38,.4); animation: spinSlow 40s linear infinite;
}
.slide-art-ring::before {
  content: ''; position: absolute; inset: 22px; border-radius: 50%; border: 1px solid rgba(21,73,60,.5);
}
.slide-art-icon {
  position: relative; width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(145deg, rgba(231,88,38,.22), rgba(21,73,60,.22));
  display: flex; align-items: center; justify-content: center; color: var(--color-gold-light);
}
.slide-art-icon svg { width: 56px; height: 56px; }
.slide-copy { color: var(--color-cream); }
.slide-index { font-family: var(--font-display); color: var(--color-gold-light); font-size: 1rem; letter-spacing: .1em; }
.slide-copy h3 { color: var(--color-cream); font-size: 1.6rem; margin-top: .2em; }
.slide-copy p { color: #d9d3c2; }
.slide-copy .tags { color: var(--color-gold-light); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }

.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%;
  background: rgba(10,11,15,.55); border: 1px solid rgba(231,88,38,.4); color: var(--color-cream);
  font-size: 1.4rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, transform .2s ease; z-index: 2;
}
.slider-nav:hover { background: var(--color-gold); color: var(--color-ink); }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }

.slider-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.slider-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--color-gold-light); background: transparent;
  padding: 0; cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.slider-dots button.is-active { background: var(--color-gold); transform: scale(1.2); }

@media (max-width: 760px) {
  .slide { grid-template-columns: 1fr; padding: 40px 28px 64px; text-align: center; min-height: auto; }
  .slide-art { height: 150px; }
  .slide-art-ring { width: 140px; height: 140px; }
  .slide-art-icon { width: 88px; height: 88px; }
  .slide-art-icon svg { width: 40px; height: 40px; }
  .slider-nav { width: 38px; height: 38px; }
}

/* Testimonial scroller (site-wide strip just above the footer) */
.testimonial-scroller { background: var(--color-cream-alt); padding: 44px 0; overflow: hidden; border-top: 1px solid var(--color-border); }
.testimonial-scroller-head { text-align: center; margin-bottom: 1.8em; }
.testimonial-scroller-track {
  display: flex; gap: 20px; width: max-content;
  animation: testimonialScroll 48s linear infinite;
}
.testimonial-scroller:hover .testimonial-scroller-track,
.testimonial-scroller:focus-within .testimonial-scroller-track { animation-play-state: paused; }
@keyframes testimonialScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.testimonial-mini {
  flex: 0 0 300px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-soft);
  position: relative; overflow: hidden; transition: box-shadow .3s ease, border-color .3s ease;
}
.testimonial-mini::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(var(--color-gold-rgb), 1) 1px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.testimonial-mini:hover { box-shadow: var(--shadow-gold); border-color: rgba(var(--color-gold-rgb),.35); }
.testimonial-mini:hover::after { opacity: .07; }
.testimonial-mini > * { position: relative; z-index: 1; }
.testimonial-mini .testimonial-quote { font-size: .92rem; margin: 0; }
.testimonial-mini .testimonial-stars { font-size: .82rem; }
.testimonial-mini .testimonial-avatar,
.testimonial-mini .testimonial-avatar-fallback { width: 36px; height: 36px; font-size: .85rem; }
.testimonial-mini .testimonial-name { font-size: .88rem; }
.testimonial-mini .testimonial-role { font-size: .76rem; }
@media (prefers-reduced-motion: reduce) {
  .testimonial-scroller-track { animation: none; overflow-x: auto; }
}

/* Testimonials */
.testimonial-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative; overflow: hidden;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.testimonial-card::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(var(--color-gold-rgb), 1) 1px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.testimonial-card:hover::after { opacity: .07; }
.testimonial-card > * { position: relative; z-index: 1; }
.testimonial-stars { color: var(--color-gold); letter-spacing: 2px; font-size: .95rem; }
.testimonial-quote { font-style: italic; color: var(--color-ink-soft); flex-grow: 1; }
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after { content: '\201D'; }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  border: 2px solid var(--color-cream-alt);
}
.testimonial-avatar-fallback {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--color-green); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
}
.testimonial-name { font-weight: 600; font-size: .95rem; }
.testimonial-role { font-size: .82rem; color: var(--color-muted); }

/* Decorative service icon (numbered circle fallback) */
.icon-circle {
  width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(var(--color-green-rgb),.1); color: var(--color-green); font-family: var(--font-display); font-weight: 700;
}
