/* VR Family Mediation — multi-practitioner draft */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Figtree:wght@400;500;600;700&display=swap");

:root {
  --navy: #0f3875;
  --navy-deep: #0a2748;
  --navy-soft: #1a4d7a;
  --sea: #5e9ea8;
  --sea-soft: #a8d0d5;
  --mist: #eef3f6;
  --paper: #f8fafb;
  --ink: #2a3540;
  --muted: #5c6b78;
  --line: rgba(15, 56, 117, 0.12);
  --white: #ffffff;
  --max: 1120px;
  --radius: 4px;
  --shadow-soft: 0 18px 50px rgba(10, 39, 72, 0.12);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--sea);
}

.draft-banner {
  background: linear-gradient(90deg, #9a3412, #b45309);
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-top {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
}

.site-top .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  padding: 0.65rem 0;
}

.site-top a {
  color: inherit;
  text-decoration: none;
}

.site-top a:hover {
  color: var(--sea-soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding-block: 0.4rem;
}

.logo img {
  width: min(240px, 55vw);
  height: auto;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  padding: 0.45rem 0.75rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  background: var(--sea);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy-deep);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem;
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.85rem;
  }
}

/* —— Hero (full-bleed) —— */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(10, 39, 72, 0.88) 0%, rgba(15, 56, 117, 0.72) 48%, rgba(10, 39, 72, 0.45) 100%),
    linear-gradient(to top, rgba(10, 39, 72, 0.55), transparent 45%);
}

.hero-content {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0 4.25rem;
  max-width: 34rem;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
}

.brand-mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.85rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.15s;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.94);
  max-width: 28rem;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.35s;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
  max-width: 28rem;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.5s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  opacity: 0;
  animation: riseIn 0.9s ease forwards 0.65s;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--sea);
  color: var(--navy-deep);
  border-color: var(--sea);
}

.btn-primary:hover {
  background: var(--sea-soft);
  border-color: var(--sea-soft);
  color: var(--navy-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn-navy:hover {
  background: var(--navy-deep);
  color: var(--white);
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section-tight {
  padding: 3.25rem 0;
}

.section-mist {
  background: var(--mist);
}

.section-navy {
  background:
    radial-gradient(ellipse 80% 60% at 10% 0%, rgba(94, 158, 168, 0.18), transparent 55%),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 55%, var(--navy-soft));
  color: var(--white);
}

.section-navy a {
  color: var(--sea-soft);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea);
  margin: 0 0 0.65rem;
}

.section-navy .eyebrow {
  color: var(--sea-soft);
}

.section h2,
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: var(--navy);
  font-size: clamp(1.85rem, 3.5vw, 2.55rem);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-head p,
.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-navy .section-head p,
.section-navy .lede {
  color: rgba(255, 255, 255, 0.82);
}

/* Contact strip */
.contact-strip {
  background: var(--navy);
  color: var(--white);
  padding: 2.25rem 0;
}

.contact-strip .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  align-items: center;
}

.contact-strip .grid:has(.strip-faces) {
  grid-template-columns: auto 1fr 1fr;
}

.strip-faces {
  display: flex;
}

.strip-faces img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  background: #061828;
}

.strip-faces img + img {
  margin-left: -18px;
}

.contact-strip h3 {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-strip a {
  color: inherit;
  text-decoration: none;
}

.contact-strip a:hover {
  color: var(--sea-soft);
}

.contact-strip .label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 0.35rem;
}

@media (max-width: 700px) {
  .contact-strip .grid {
    grid-template-columns: 1fr;
  }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.services-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.services-list li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}

.services-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.3rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sea);
}

.services-aside {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
}

.services-aside p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.services-aside p:last-child {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.person {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  transition: transform 0.35s ease, background 0.35s ease;
}

.person:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.person-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #061828;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.person:hover .person-photo img {
  transform: scale(1.03);
}

.person-body {
  padding: 1.5rem 1.4rem 1.7rem;
}

.person-body h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 600;
}

.person-role {
  display: block;
  color: var(--sea-soft);
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.person-body p {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.98rem;
}

.person-body p:last-child {
  margin-bottom: 0;
}

.person-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  color: var(--sea-soft);
  text-decoration: none;
}

.person-link:hover {
  color: var(--white);
}

@media (max-width: 800px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  padding: 0 0.25rem;
  counter-increment: step;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--sea);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  color: var(--navy);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* Split / page hero */
.page-hero {
  position: relative;
  min-height: 320px;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.page-hero .hero-media,
.page-hero .hero-wash {
  position: absolute;
  inset: 0;
}

.page-hero .hero-media {
  z-index: -2;
}

.page-hero .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.page-hero .hero-wash {
  z-index: -1;
  background: linear-gradient(110deg, rgba(10, 39, 72, 0.9), rgba(15, 56, 117, 0.65));
}

.page-hero .hero-content {
  padding: 4rem 0 2.75rem;
  max-width: 36rem;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* About detail rows */
.bio-row {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.bio-row:last-child {
  margin-bottom: 0;
}

.bio-row.reverse {
  direction: rtl;
}

.bio-row.reverse > * {
  direction: ltr;
}

.bio-photo {
  background: #061828;
  overflow: hidden;
}

.bio-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.bio-copy h2 {
  margin-top: 0;
}

.bio-copy .person-role {
  color: var(--sea);
  margin-bottom: 1rem;
}

.picks-review {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.picks-review h3 {
  margin: 1.5rem 0 0.75rem;
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.picks-grid figure {
  margin: 0;
  border: 2px solid transparent;
  background: #fff;
}

.picks-grid figure.is-main {
  border-color: var(--navy);
}

.picks-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.meet-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.meet-photos {
  display: flex;
  gap: 1.25rem;
  justify-content: flex-end;
}

.meet-photos figure {
  margin: 0;
  text-align: center;
  width: 96px;
}

.meet-photos img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  border: 3px solid rgba(15, 56, 117, 0.12);
}

.meet-photos figcaption {
  margin-top: 0.45rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

.face-cards {
  display: flex;
  gap: 1.25rem;
  margin: 1.5rem 0 0;
}

.face-card {
  text-decoration: none;
  color: inherit;
  text-align: center;
  width: 96px;
}

.face-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  border: 3px solid rgba(15, 56, 117, 0.12);
}

.face-card span {
  display: block;
  margin-top: 0.45rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
}

@media (max-width: 800px) {
  .meet-band {
    grid-template-columns: 1fr;
  }

  .meet-photos {
    justify-content: flex-start;
  }
}

.picks-grid figcaption {
  padding: 0.4rem 0.5rem 0.55rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.bio-copy p {
  color: var(--muted);
  margin: 0 0 0.9rem;
}

@media (max-width: 800px) {
  .bio-row,
  .bio-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

/* Fees table */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
}

.fee-table th,
.fee-table td {
  text-align: left;
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--line);
}

.fee-table th {
  background: var(--mist);
  color: var(--navy);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fee-table td:last-child,
.fee-table th:last-child {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.fee-note {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Case studies */
.case-block {
  margin-bottom: 2.5rem;
}

.case-block h3 {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.55rem;
  margin: 0 0 1rem;
}

.case-block ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.case-block li {
  margin-bottom: 0.85rem;
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-panel p {
  color: var(--muted);
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin: 0.9rem 0 0.35rem;
  color: var(--navy);
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--white);
  font: inherit;
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--sea);
  outline-offset: 1px;
}

.form-note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* CTA band */
.cta-band {
  padding: 3.5rem 0;
  text-align: center;
  background:
    linear-gradient(120deg, rgba(10, 39, 72, 0.88), rgba(15, 56, 117, 0.78)),
    url("../images/stock-mediation.jpg") center/cover;
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
  margin: 0 0 0.75rem;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.85);
}

.cta-band .hero-actions {
  justify-content: center;
  opacity: 1;
  animation: none;
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 2.75rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer .footer-brand > img {
  max-width: 200px;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-faces {
  display: flex;
  margin-top: 1rem;
}

.footer-faces img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.28);
}

.footer-faces img + img {
  margin-left: -10px;
}

.site-footer h4 {
  margin: 0 0 0.75rem;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--sea-soft);
}

.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .brand-mark,
  .hero h1,
  .hero-lead,
  .hero-actions,
  .reveal {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* Live extras */
.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}
.form-success {
  background: #e8f4ee;
  border: 1px solid #9cc5ae;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.1rem;
}
.form-error {
  background: #fdecea;
  border: 1px solid #e4b4ad;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.1rem;
}
.legal-copy {
  max-width: 760px;
}
.legal-copy h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 1.8rem 0 0.7rem;
}
.legal-copy p {
  margin: 0 0 1rem;
}
.ref-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.ref-cards a {
  text-decoration: none;
  color: inherit;
}
@media (max-width: 700px) {
  .ref-cards {
    grid-template-columns: 1fr;
  }
}

/* —— Google & Client Reviews Section & Dynamic Carousel —— */
.google-reviews-section {
  padding-block: 4rem;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head.center {
  text-align: center;
  max-width: 44rem;
  margin-inline: auto;
}

.google-rating-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  border: 1px solid rgba(15, 56, 117, 0.15);
  box-shadow: 0 4px 14px rgba(10, 39, 72, 0.06);
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
}

.google-source-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.google-rating-stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

.reviews-carousel-outer {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
  padding-inline: 46px;
}

.reviews-carousel-viewport {
  overflow: hidden;
  border-radius: 8px;
}

.reviews-carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
}

.review-slide {
  flex: 0 0 33.3333%;
  padding: 0.75rem;
  box-sizing: border-box;
}

.review-slide-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.6rem;
  height: 330px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(10, 39, 72, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
}

.review-slide-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy);
  box-shadow: 0 10px 24px rgba(10, 39, 72, 0.1);
}

.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.reviewer-avatar-placeholder {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  border: 1px solid rgba(15, 56, 117, 0.18);
  flex-shrink: 0;
}

.reviewer-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.2;
}

.reviewer-date {
  font-size: 0.78rem;
  color: var(--muted);
}

.review-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.review-quote-text {
  font-size: 0.93rem;
  color: var(--ink);
  line-height: 1.6;
  height: 175px;
  overflow-y: auto;
  margin-bottom: 0.75rem;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--sea-soft) var(--paper);
}

.review-quote-text::-webkit-scrollbar {
  width: 4px;
}

.review-quote-text::-webkit-scrollbar-track {
  background: var(--paper);
  border-radius: 4px;
}

.review-quote-text::-webkit-scrollbar-thumb {
  background: var(--sea-soft);
  border-radius: 4px;
}

.review-verified-badge {
  font-size: 0.76rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border-top: 1px solid rgba(15, 56, 117, 0.08);
  padding-top: 0.6rem;
  margin-top: auto;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(15, 56, 117, 0.15);
  box-shadow: 0 4px 12px rgba(10, 39, 72, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--navy);
  cursor: pointer;
  z-index: 5;
  transition: all 0.15s ease;
}

.carousel-arrow:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.carousel-arrow.prev-btn { left: 0; }
.carousel-arrow.next-btn { right: 0; }

.carousel-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1.5rem;
}

.carousel-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-bullet.active {
  background: var(--navy);
  width: 22px;
  border-radius: 4px;
}

@media (max-width: 980px) {
  .review-slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 640px) {
  .review-slide {
    flex: 0 0 100%;
  }
  .reviews-carousel-outer {
    padding-inline: 0;
  }
  .carousel-arrow {
    display: none !important;
  }
}

