:root {
  --color-primary: #1c4f82;
  --color-primary-light: #2567aa;
  --color-accent: #f2b35b;
  --color-bg: #f7fafc;
  --color-text: #1a202c;
  --color-muted: #718096;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.1);
  --max-width: 1120px;
}

/* Reset-ish */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--color-text);
  background: #ffffff;
  line-height: 1.6;
}

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

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

button {
  font-family: inherit;
}

/* Layout helpers */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section--alt {
  background: var(--color-bg);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  margin-bottom: 0.8rem;
  letter-spacing: -0.03em;
}

.section-text {
  color: var(--color-muted);
  font-size: 0.98rem;
  max-width: 38rem;
}

.section-text--narrow {
  margin: 0 auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Badges & buttons */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: rgba(37, 103, 170, 0.06);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.8rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    color 0.12s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(28, 79, 130, 0.3);
}

.btn--primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(28, 79, 130, 0.4);
}

.btn--outline {
  background: #ffffff;
  color: var(--color-primary);
  border: 1px solid rgba(37, 103, 170, 0.18);
}

.btn--outline:hover {
  background: rgba(37, 103, 170, 0.06);
  transform: translateY(-1px);
}

/* Top bar */

.topbar {
  background: #0b2542;
  color: #e2e8f0;
  font-size: 0.86rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-label {
  font-weight: 500;
}

.topbar-link {
  opacity: 0.9;
}

.topbar-link:hover {
  opacity: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.topbar-divider {
  opacity: 0.7;
}

/* Header & nav */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #1c4f82);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(28, 79, 130, 0.5);
  font-size: 1rem;
}

.nav-title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-title-main {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nav-title-sub {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
}

.nav-link {
  font-size: 0.95rem;
  color: #4a5568;
  font-weight: 500;
  position: relative;
  padding-bottom: 0.1rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.16s ease-out;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 1rem;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  font-size: 1.45rem;
  cursor: pointer;
}

/* Mobile nav */

.nav-mobile {
  display: none;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.75rem 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.98);
}

.nav-mobile.open {
  display: block;
}

.nav-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.nav-mobile-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Hero */

.hero {
  /* hero background image + light overlay so text stays readable */
  background-image: linear-gradient(
      to bottom,
      rgba(247, 250, 252, 0.75),
      rgba(247, 250, 252, 0.75)
    ),
    url("images/yoga.jpg");
  background-size: cover; /* fills width, keeps aspect ratio */
  background-position: center; /* keeps subject centered */
  background-repeat: no-repeat;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.hero-text {
  color: var(--color-text); /* darker, higher contrast */
  max-width: 32rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.25); /* subtle shadow for readability */
}

.hero-text strong {
  display: block; /* puts it on its own line nicely */
  margin-top: 0.4rem;
  color: var(--color-primary); /* clinic blue */
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.25);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  max-width: 32rem;
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a0aec0;
  font-weight: 600;
}

.hero-meta-value {
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-meta-divider {
  width: 1px;
  height: 28px;
  background: rgba(148, 163, 184, 0.7);
}

/* Hero right card */

.hero-right {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 1.75rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.2);
  width: 100%;
  max-width: 1000px;
}

.hero-provider-avatar {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #ffffff, #1c4f82);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.hero-avatar-logo {
  width: 100%; /* tweak between 55–70% to taste */
  height: auto;
  display: block;
}

.hero-provider-avatar {
  animation: heroAvatarFloat 2.5s ease-in-out infinite;
}

@keyframes heroAvatarFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

.hero-provider-info {
  margin-bottom: 1.25rem;
}

.hero-provider-name {
  font-size: 1.2rem;
  margin-bottom: 0.1rem;
}

.hero-provider-title {
  font-size: 0.9rem;
  color: var(--color-muted);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.hero-stat-value {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.hero-pill {
  font-size: 0.85rem;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  background: rgba(37, 103, 170, 0.06);
  color: var(--color-primary);
  text-align: center;
  font-weight: 500;
}

/* Two-column layout */

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

.two-column--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

.two-column-left,
.two-column-right {
  min-width: 0;
}

/* Checklist */

.checklist {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  font-size: 0.95rem;
  color: var(--color-text);
}

.checklist li::before {
  content: "✓";
  margin-right: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
}

/* Card grid */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.card-title {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.card-list {
  list-style: none;
  font-size: 0.87rem;
  color: #4a5568;
}

.card-list li {
  position: relative;
  padding-left: 0.9rem;
  margin-bottom: 0.3rem;
}

.card-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
}

/* Provider section */

.provider-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  background: linear-gradient(145deg, #1c4f82, #f2b35b);
  box-shadow: var(--shadow-soft);
}

/* Insurance */

.insurances-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.insurances-title {
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.chip-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.chip {
  font-size: 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(37, 103, 170, 0.08);
  color: var(--color-primary);
  font-weight: 500;
}

.chip--muted {
  background: rgba(148, 163, 184, 0.18);
  color: #4a5568;
}

.insurances-note {
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Reviews */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.4rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.review-rating {
  font-size: 0.95rem;
  color: #f6ad55;
  margin-bottom: 0.7rem;
}

.review-text {
  font-size: 0.9rem;
  color: #4a5568;
  margin-bottom: 0.7rem;
}

.review-author {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* Contact */

.contact-grid {
  align-items: flex-start;
}
.contact-map {
  margin-top: 1.8rem;
}

.contact-details {
  display: grid;
  gap: 0.9rem;
  margin: 1.3rem 0 1.5rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #a0aec0;
  font-weight: 600;
}

.contact-value {
  font-size: 0.95rem;
}

.map-placeholder {
  margin-top: 1.2rem;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(148, 163, 184, 0.6);
  padding: 2.5rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Contact form */

.contact-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.contact-card-title {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 500;
}

.form-field input,
.form-field select,
.form-field textarea {
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(37, 103, 170, 0.4);
}

.form-note {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.form-submit {
  margin-top: 0.2rem;
  width: 100%;
}

/* Footer */

.footer {
  background: #020617;
  color: #e2e8f0;
  padding-top: 2.5rem;
  margin-top: 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 2rem;
}

.footer-brand .nav-logo {
  box-shadow: none;
}

.footer-text {
  font-size: 0.85rem;
  color: #cbd5f5;
  max-width: 28rem;
  margin-top: 0.9rem;
}

.footer-right {
  display: flex;
  gap: 2.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-heading {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.footer-link {
  font-size: 0.85rem;
  color: #cbd5f5;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.35);
  padding: 0.8rem 0;
  font-size: 0.8rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #94a3b8;
}

.footer-bottom-links a {
  color: #cbd5f5;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
}

/* Responsive */

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-inner,
  .two-column,
  .two-column--reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right {
    justify-content: flex-start;
  }

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

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

  .footer-inner {
    flex-direction: column;
  }

  .footer-right {
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .reviews-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-meta {
    border-radius: 16px;
  }

  .footer-right {
    flex-direction: column;
  }

  .footer-bottom-inner {
    flex-direction: column;
  }
}
/* Header logo image */
.nav-logo-img {
  height: 40px; /* adjust to taste; 40–48px usually looks good */
  width: auto;
  display: block;
}

/* Remove old circle logo styles in header if they’re no longer used */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Footer logo */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* or center if you prefer */
}

.footer-logo-img {
  height: 60px; /* footer can be a bit larger */
  width: auto;
  display: block;
}
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* change to center for full centering */
}

/* Bright Mind TMS – map styling */
.map-placeholder {
  border: none;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-placeholder iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}
/* Make sections a bit more spacious and text less dense */
.section {
  padding: 4rem 0;
}

.section-text {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

/* Map styling for a clean, minimal block */
.map-placeholder {
  border: none;
  padding: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 1.2rem;
}

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

/* Shared image block for alternating image/text sections */
.section-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #e5edf7;
}

.section-image img,
.section-image iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
  object-fit: cover;
}
/* Centered insurance section */
.insurance-center {
  text-align: center;
  max-width: 720px;
}

.section-text--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* Logo carousel */
.logo-carousel {
  position: relative;
  margin: 2rem auto 0;
  width: 220px;
  height: 120px;
}

.logo-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.logo-slide img {
  max-width: 160px;
  max-height: 60px;
  object-fit: contain;
}

.logo-slide span {
  font-size: 0.85rem;
  color: var(--color-muted);
  font-weight: 500;
}

.logo-slide.active {
  opacity: 1;
  transform: translateY(0);
}

/* Carousel dots */
.logo-dots {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  gap: 0.4rem;
}

.logo-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: rgba(148, 163, 184, 0.8);
  opacity: 0.6;
  cursor: pointer;
}

.logo-dot.active {
  opacity: 1;
  background: var(--color-primary);
}

.insurance-note-center {
  margin-top: 1.2rem;
}
.section-image img.tms-photo {
  width: 100%;
  height: auto;
  max-height: 400px;
  min-height: 0;
  object-fit: contain;
}

/* Make the "Learn more" links look obviously clickable */
.learn-more-links a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  cursor: pointer;
}

.learn-more-links a:hover {
  text-decoration-thickness: 2px;
  opacity: 0.9;
}
.section-text--em {
  font-weight: 600;
  color: var(--color-primary);
}

/* -----------------------------------
   Header scroll state
----------------------------------- */
.header {
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.header--scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.98);
}

/* -----------------------------------
   Scroll reveal base
----------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: var(--stagger, 0ms);
}

.animate-on-scroll--visible {
  opacity: 1;
  transform: translateY(0);
}

/* -----------------------------------
   Hero intro animation
----------------------------------- */
.hero-left,
.hero-card {
  opacity: 0;
  transform: translateY(18px);
}

.hero-left--animate {
  animation: heroFadeIn 0.75s ease-out forwards;
}

.hero-card--animate {
  animation: heroFadeIn 0.75s ease-out forwards;
  animation-delay: 0.15s;
}

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

/* -----------------------------------
   Back-to-top button
----------------------------------- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(2, 6, 23, 0.9);
  color: #e2e8f0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 55;
}

.back-to-top:hover {
  background: rgba(15, 23, 42, 1);
}

.back-to-top--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* -----------------------------------
   Toast notifications
----------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: #020617;
  color: #e2e8f0;
  font-size: 0.9rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 60;
}

.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* -----------------------------------
   Form field error state
----------------------------------- */
.form-field--error {
  border-color: #e11d48 !important;
  box-shadow: 0 0 0 1px rgba(225, 29, 72, 0.25) !important;
}

/* Card + image hover motion */
.hero-card,
.review-card,
.contact-card,
.section-image {
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}

.hero-card:hover,
.review-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.section-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.hero-pill-condition {
  display: inline-block;
  margin-left: 0.25rem;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-pill-condition--hidden {
  opacity: 0;
  transform: translateY(6px);
}
