/* Vie Care Support — static rebuild, colors/type/spacing from the Lovable site */

:root {
  --background: 20 30% 97%;
  --foreground: 200 25% 20%;
  --card: 0 0% 100%;
  --primary: 0 70% 50%;
  --primary-foreground: 0 0% 100%;
  --secondary: 20 25% 94%;
  --muted: 20 15% 92%;
  --muted-foreground: 200 10% 45%;
  --accent: 0 65% 55%;
  --accent-foreground: 0 0% 100%;
  --border: 20 15% 88%;
  --coral-light: 0 75% 65%;
  --radius: 0.75rem;
  --shadow-soft: 0 4px 20px -4px hsl(200 25% 20% / 0.08);
  --shadow-medium: 0 8px 30px -8px hsl(200 25% 20% / 0.12);
  --shadow-large: 0 20px 50px -15px hsl(200 25% 20% / 0.15);
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --header-h: 5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0; }
button { font-family: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: hsl(var(--primary));
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-lg { width: 1.25em; height: 1.25em; }
.icon-fill { fill: currentColor; stroke: none; }

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn .icon { width: 1.25rem; height: 1.25rem; }
.btn-hero {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  box-shadow: var(--shadow-medium);
  height: 2.75rem;
  padding: 0.5rem 1.5rem;
}
.btn-hero:hover {
  background: hsl(var(--coral-light));
  box-shadow: var(--shadow-large);
  transform: translateY(-2px);
}
.btn-hero-lg {
  height: 3.5rem;
  padding: 1.75rem 2.5rem;
  font-size: 1.125rem;
  border-radius: 0.75rem;
}
.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
  height: 2.75rem;
  padding: 0.5rem 1rem;
  font-weight: 600;
}
.btn-ghost:hover { background: hsl(var(--accent) / 0.08); }
.btn-outline {
  background: transparent;
  color: hsl(var(--foreground));
  border: 2px solid hsl(var(--border));
  height: 2.75rem;
  padding: 0.5rem 1.5rem;
}
.btn-outline:hover { border-color: hsl(var(--primary) / 0.4); color: hsl(var(--primary)); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid hsl(var(--primary) / 0.2);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo-link { display: flex; align-items: center; }
.logo-header {
  height: 3.5rem;
  width: auto;
}
@media (min-width: 640px) { .logo-header { height: 4rem; } }
@media (min-width: 768px) { .logo-header { height: 5rem; } }

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.15); }
  28% { transform: scale(1); }
  42% { transform: scale(1.15); }
  70% { transform: scale(1); }
}
.animate-heartbeat { animation: heartbeat 1.5s ease-in-out 2; }
.logo-header:hover { transform: scale(1.1); }
.logo-header:active { transform: scale(1.5); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-desktop a {
  font-weight: 600;
  font-size: 1rem;
  color: hsl(var(--foreground) / 0.8);
  position: relative;
  transition: color 0.2s;
}
.nav-desktop a:hover,
.nav-desktop a.is-active { color: hsl(var(--primary)); }
.nav-desktop a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25rem;
  height: 2px;
  background: hsl(var(--primary));
  border-radius: 999px;
}
.header-cta {
  display: none;
  align-items: center;
  gap: 1.5rem;
}
.header-contacts {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}
.header-contacts a {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}
.header-contacts a:hover { color: hsl(var(--foreground)); }
.header-contacts .icon { width: 1rem; height: 1rem; }
.menu-toggle {
  display: flex;
  background: none;
  border: 0;
  padding: 0.5rem;
  color: hsl(var(--foreground));
  cursor: pointer;
}
.menu-toggle .icon { width: 1.5rem; height: 1.5rem; }
@media (min-width: 768px) {
  .nav-desktop, .header-cta { display: flex; }
  .menu-toggle { display: none; }
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0 1.25rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}
.nav-mobile.is-open { display: flex; }
.nav-mobile a {
  font-weight: 500;
  padding: 0.5rem 0;
  color: hsl(var(--muted-foreground));
}
.nav-mobile a:hover, .nav-mobile a.is-active { color: hsl(var(--foreground)); }
.nav-mobile .mobile-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid hsl(var(--border) / 0.5);
}
.nav-mobile .mobile-contacts a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-mobile .btn-hero { margin-top: 0.25rem; width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  background: linear-gradient(to bottom, hsl(var(--muted) / 0.3), hsl(var(--background)));
  text-align: center;
}
.hero-inner { max-width: 56rem; margin: 0 auto; }
.logo-hero {
  height: 11rem;
  width: auto;
  margin: 0 auto 2.5rem;
}
@media (min-width: 640px) { .logo-hero { height: 14rem; } }
@media (min-width: 768px) { .logo-hero { height: 16rem; } }
.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 768px) { .hero h1 { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 4.5rem; } }
.hero .lede {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  max-width: 42rem;
  margin: 0 auto 3rem;
}
@media (min-width: 640px) { .hero .lede { font-size: 1.5rem; line-height: 2rem; } }

/* Sections */
.section { padding: 8rem 0; }
.section-muted { background: hsl(var(--muted) / 0.2); }
.section-plain { background: hsl(var(--background)); }
.section-head {
  max-width: 48rem;
  margin: 0 auto 5rem;
  text-align: center;
}
.section-head.tight { margin-bottom: 4rem; }
.section-head h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .section-head h2 { font-size: 3rem; }
}
.section-head h2.display {
  font-size: 2.25rem;
}
@media (min-width: 768px) {
  .section-head h2.display { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .section-head h2.display { font-size: 3.75rem; }
}
.section-head p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
}

/* Condition pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 48rem;
  margin: 0 auto;
}
.pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(var(--border) / 0.3);
  font-weight: 500;
  transition: all 0.3s;
}
.pill:hover {
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: var(--shadow-medium);
}
.pill .icon { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); }
.pill-more {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: 999px;
  border: 1px solid hsl(var(--primary) / 0.2);
  font-weight: 500;
  color: hsl(var(--primary));
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 3rem; }
}
.step-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step-icon .icon { width: 1.5rem; height: 1.5rem; }
.step-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: hsl(var(--primary));
  margin-bottom: 0.5rem;
}
.step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.step p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* Services */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto 4rem;
  text-align: center;
}
@media (min-width: 768px) {
  .services { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.service { padding: 2rem; }
.service-icon {
  width: 4rem;
  height: 4rem;
  border-radius: calc(var(--radius) + 8px);
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}
.service-icon .icon { width: 2rem; height: 2rem; }
.service h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.service p { color: hsl(var(--muted-foreground)); line-height: 1.625; }
.center { text-align: center; }

/* FAQ */
.faq-list { max-width: 42rem; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid hsl(var(--border) / 0.5);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 500;
  padding: 1.25rem 2rem 1.25rem 0;
  position: relative;
  display: block;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1.25rem;
  height: 1.25rem;
  transform: translateY(-50%);
  background: currentColor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") center / contain no-repeat;
  opacity: 0.7;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(180deg); }
.faq-item .faq-answer {
  color: hsl(var(--muted-foreground));
  padding: 0 2rem 1.25rem 0;
}

/* Contact */
.contact-head { text-align: center; margin-bottom: 2.5rem; }
.contact-head h2 { font-size: 2.25rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .contact-head h2 { font-size: 3rem; } }
.contact-head p {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2.5rem;
}
.contact-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 2.5rem 0 0;
}
.contact-row a, .contact-row span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}
.contact-row a:hover { color: hsl(var(--foreground)); }
.contact-row .icon { width: 1.25rem; height: 1.25rem; }
.emergency {
  text-align: center;
  margin-top: 2.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

/* Footer */
.site-footer {
  background: hsl(var(--foreground));
  color: #fff;
  padding: 4rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
}
.site-footer h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.footer-blurb {
  color: rgb(255 255 255 / 0.7);
  line-height: 1.625;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0.75rem; }
.site-footer a {
  color: rgb(255 255 255 / 0.7);
  transition: color 0.2s;
}
.site-footer a:hover { color: #fff; }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgb(255 255 255 / 0.6);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; }
}
.made-with { display: flex; align-items: center; gap: 0.5rem; }
.made-with .icon { width: 1rem; height: 1rem; color: hsl(var(--accent)); fill: hsl(var(--accent)); }

/* Legal pages */
.legal-page { min-height: 100vh; background: hsl(var(--background)); padding: 3rem 0; }
.legal-wrap { max-width: 48rem; margin: 0 auto; }
.legal-page h1 {
  font-size: 2.25rem;
  margin: 0 0 2rem;
}
.legal-page .updated {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}
.legal-page .lede-legal {
  color: hsl(var(--muted-foreground));
  margin: -1rem 0 2rem;
}
.legal-page section { margin-bottom: 2rem; }
.legal-page h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 1rem;
}
.legal-page p, .legal-page li {
  color: hsl(var(--foreground) / 0.8);
  line-height: 1.625;
}
.legal-page p + p { margin-top: 0.75rem; }
.legal-page ul { padding-left: 1.5rem; margin: 0.75rem 0 0; }
.legal-page li + li { margin-top: 0.5rem; }
.legal-page a:not(.btn) { color: hsl(var(--primary)); }
.legal-page a:not(.btn):hover { text-decoration: underline; }
.legal-page a.btn-ghost { color: hsl(var(--foreground)); }
.legal-page .btn-ghost { margin-bottom: 2rem; }

.hipaa-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .hipaa-cards { grid-template-columns: 1fr 1fr; }
}
.hipaa-card {
  background: hsl(var(--primary) / 0.05);
  padding: 1.5rem;
  border-radius: calc(var(--radius) + 4px);
}
.hipaa-card .icon {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--primary));
  margin-bottom: 1rem;
}
.hipaa-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.hipaa-card p { color: hsl(var(--foreground) / 0.7); font-size: 0.875rem; }

/* Book / request appointment */
.book-page {
  min-height: 100vh;
  background: hsl(var(--background));
  padding: 3rem 1rem 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.logo-book {
  height: 7rem;
  width: auto;
  margin: 1rem auto 2rem;
}
.book-page h1 {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .book-page h1 { font-size: 2.5rem; }
}
.book-intro {
  text-align: center;
  color: hsl(var(--muted-foreground));
  max-width: 32rem;
  margin: 0 auto 2.5rem;
  font-size: 1.125rem;
}
.book-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsl(var(--border) / 0.4);
  padding: 2.25rem 2rem;
  width: 100%;
  max-width: 28rem;
  text-align: center;
}
.book-card .btn-hero { width: 100%; margin-bottom: 1.25rem; }
.book-card .book-phone,
.book-card .book-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
}
.book-card .book-phone:hover,
.book-card .book-email:hover { color: hsl(var(--foreground)); }
.book-note {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}
.book-back { margin-top: 2rem; }

@media (max-width: 1199px) {
  .header-contacts { display: none; }
}
