/* ==========================================================================
   Foreviva Medical Clinique — site styles for Elementor FREE
   --------------------------------------------------------------------------
   HOW IT LOADS
   The Foreviva Navigation plugin enqueues this file on every front-end page
   and inside the Elementor editor preview. Nothing to paste.
   Not using the plugin? Paste this file into Appearance → Customize →
   Additional CSS instead (never both).

   Every selector is scoped with an .fv- class or a homepage section CSS ID,
   so other Elementor content is untouched. Colors, fonts, spacing, radii and
   shadows are native Elementor controls; this file only adds decorative
   shapes, overlapping callouts, placeholder labels, hover motion, the mobile
   booking bar, the fixed-header state and reduced-motion support.
   Breakpoints match Elementor defaults: tablet ≤ 1024px, mobile ≤ 767px.
   ========================================================================== */

/* ---------- 1. Base & accessibility ---------- */
html { scroll-behavior: smooth; }
body { background-color: #F6F0F6; }
.e-con[id] { scroll-margin-top: 100px; }
.elementor a:focus-visible,
.elementor button:focus-visible,
.elementor [role="button"]:focus-visible {
  outline: 2px solid #845BAA; outline-offset: 3px; border-radius: 6px;
}
.fv-on-dark a:focus-visible { outline-color: #FEF8F1; }
.fv-hero, .fv-locations { overflow: hidden; }

/* ---------- 2. Small layout helpers ---------- */
.e-con > .fv-flex-1, .e-con-inner > .fv-flex-1 { flex: 1 1 0; min-width: 0; }
.e-con .fv-mt-12 { margin-top: 12px; }
.e-con .fv-mt-20 { margin-top: 20px; }
.e-con .fv-mt-24 { margin-top: 24px; }
.e-con .fv-mt-40 { margin-top: 40px; }
.e-con .fv-mt-48 { margin-top: 48px; }
.e-con .fv-mt-auto { margin-top: auto !important; }
.fv-maxw-590 { max-width: 590px; }
.fv-maxw-640 { max-width: 640px; }

/* ---------- 3. Type details ---------- */
.fv-eyebrow .elementor-heading-title { display: inline-flex; align-items: center; gap: 12px; }
.fv-eyebrow .elementor-heading-title::before,
.fv-eyebrow--center .elementor-heading-title::after {
  content: ""; flex: none; width: 28px; height: 1px; background: #E8BE6F;
}
.fv-h1 em { font-style: italic; font-weight: 500; color: #845BAA; }

/* ---------- 4. Buttons & links ---------- */
.fv-btn .elementor-button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.fv-btn--primary .elementor-button { box-shadow: 0 1px 2px rgba(92,58,125,.04), 0 8px 24px -12px rgba(92,58,125,.14); }
.fv-btn--primary .elementor-button:hover { box-shadow: 0 2px 4px rgba(92,58,125,.05), 0 22px 44px -18px rgba(92,58,125,.28); }
.fv-specials-pill .elementor-button { min-height: 0; border: 1px solid #E8BE6F; background-color: #FEF8F1; box-shadow: none; }
.fv-book-sm .elementor-button { min-height: 44px; }
.fv-textlink .elementor-button { min-height: 0; box-shadow: none !important; }
.fv-textlink .elementor-button-icon { transition: transform .3s ease; }
.fv-textlink:hover .elementor-button-icon,
.fv-card--hover:hover .fv-textlink .elementor-button-icon { transform: translateX(4px); }
.fv-arrow .elementor-heading-title::after {
  content: "→"; display: inline-block; margin-left: 8px; transition: transform .3s ease;
}
.fv-card--hover:hover .fv-arrow .elementor-heading-title::after { transform: translateX(4px); }

/* ---------- 5. Cards ---------- */
.fv-card { position: relative; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
a.fv-card, a.fv-card:hover { color: inherit; text-decoration: none; }
.fv-card--hover:hover,
.fv-card--hover:focus-visible,
.fv-card--hover:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(92,58,125,.05), 0 22px 44px -18px rgba(92,58,125,.28) !important;
  border-color: rgba(132,91,170,.4) !important;
}
.fv-card--hover:hover .elementor-widget-icon .elementor-icon { background-color: #E7DBF1 !important; }
.e-con .fv-card-num { position: absolute; top: 28px; right: 28px; width: auto; }
.e-con .fv-chip-label { position: absolute; top: 16px; left: 16px; width: auto; z-index: 2; }
.fv-chip-label .elementor-heading-title { background: rgba(255,255,255,.95); border-radius: 999px; padding: 5px 12px; }
.fv-zoom { overflow: hidden; }
.fv-zoom img { transition: transform .7s ease; }
.fv-card--hover:hover .fv-zoom img { transform: scale(1.04); }

/* ---------- 6. Images & labeled placeholders ---------- */
.fv-photo, .fv-photo .elementor-widget-container { width: 100%; }
.fv-photo img { display: block; width: 100%; height: auto; object-fit: cover; }
.fv-ratio-45 img { aspect-ratio: 4 / 5; }
.fv-ratio-43 img { aspect-ratio: 4 / 3; }
/* While Elementor's default placeholder.png is still in the widget, show the
   brand placeholder + the data-ph-label text. Upload a real image and this
   disappears automatically. */
.fv-photo:has(img[src*="placeholder"]) { position: relative; }
.fv-photo img[src*="placeholder"] { opacity: 0; }
.fv-photo:has(img[src*="placeholder"]) .elementor-widget-container {
  background-color: #E7DBF1;
  background-image: repeating-linear-gradient(135deg, rgba(132,91,170,.075) 0 1px, transparent 1px 14px);
  border-radius: 16px; overflow: hidden;
}
.fv-arch:has(img[src*="placeholder"]) .elementor-widget-container { border-radius: 999px 999px 16px 16px; }
.fv-photo:has(img[src*="placeholder"])::after {
  content: "IMAGE PLACEHOLDER\A Replace with approved Foreviva photography";
  white-space: pre-line; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  padding: 24px; text-align: center; pointer-events: none;
  font: 500 14px/1.6 "DM Sans", system-ui, sans-serif; color: #5C3A7D;
}

/* Placeholder labels per image slot (shown only while Elementor's placeholder image is in place) */
.fv-slot-1:has(img[src*="placeholder"])::after { content: "IMAGE PLACEHOLDER\A Portrait of Dr. Joelle Osias, MD, Founder & Medical Director\A Replace with approved Foreviva photography"; }
.fv-slot-2:has(img[src*="placeholder"])::after { content: "IMAGE PLACEHOLDER\A Dr. Joelle Osias, MD, in clinic\A Replace with approved Foreviva photography"; }
.fv-slot-3:has(img[src*="placeholder"])::after { content: "IMAGE PLACEHOLDER\A Consultation room, physician with patient\A Replace with approved Foreviva photography"; }
.fv-slot-4:has(img[src*="placeholder"])::after { content: "IMAGE PLACEHOLDER\A Clinic exam suite, warm natural light\A Replace with approved Foreviva photography"; }
.fv-slot-5:has(img[src*="placeholder"])::after { content: "IMAGE PLACEHOLDER\A Patient consultation, hormone care\A Replace with approved Foreviva photography"; }
.fv-slot-6:has(img[src*="placeholder"])::after { content: "IMAGE PLACEHOLDER\A Clinician reviewing results\A Replace with approved Foreviva photography"; }
.fv-slot-7:has(img[src*="placeholder"])::after { content: "IMAGE PLACEHOLDER\A Care team consultation\A Replace with approved Foreviva photography"; }
.fv-slot-8:has(img[src*="placeholder"])::after { content: "IMAGE PLACEHOLDER\A Aesthetic treatment room\A Replace with approved Foreviva photography"; }
.fv-slot-9:has(img[src*="placeholder"])::after { content: "IMAGE PLACEHOLDER\A Portrait of Dr. Joelle Osias, MD\A Replace with approved Foreviva photography"; }
.fv-slot-10:has(img[src*="placeholder"])::after { content: "IMAGE PLACEHOLDER\A Portrait of Gabriella Kazevra\A Replace with approved Foreviva photography"; }
.fv-slot-11:has(img[src*="placeholder"])::after { content: "IMAGE PLACEHOLDER\A Portrait of Lauren Germaine\A Replace with approved Foreviva photography"; }
.fv-slot-12:has(img[src*="placeholder"])::after { content: "IMAGE PLACEHOLDER\A Portrait of Patricia Provencher\A Replace with approved Foreviva photography"; }
.fv-ph { background-image: repeating-linear-gradient(135deg, rgba(132,91,170,.075) 0 1px, transparent 1px 14px); }

/* ---------- 7. Header ---------- */
.fv-utility .elementor-icon-list-text strong { font-weight: 600; }
.fv-utility-phones .elementor-icon-list-item:nth-child(n+3) .elementor-icon-list-icon i { color: #CB9CB4; font-size: 6px; }
.fv-utility-phones .elementor-icon-list-item:nth-child(n+3) .elementor-icon-list-icon svg { fill: #CB9CB4; width: 6px; }
.fv-sep-left { padding-left: 16px; border-left: 1px solid #E8BE6F; }
.fv-mainnav { transition: box-shadow .2s ease; }
/* Fixed-on-scroll state added by foreviva-nav.js (replaces Pro "Sticky") */
.fv-mainnav.fv-is-fixed { position: fixed !important; top: var(--fv-fixed-top, 0px); left: 0; right: 0; z-index: 990;
  box-shadow: 0 8px 24px -12px rgba(92,58,125,.18); }
.fv-logo, .fv-logo:hover { text-decoration: none; }
.fv-logo .elementor-heading-title { white-space: nowrap; }
.e-con .fv-utility-right { width: auto; flex: 0 0 auto; }
.e-con .fv-book, .e-con .fv-book-sm { flex-shrink: 0; }
.fv-book .elementor-button, .fv-book-sm .elementor-button { white-space: nowrap; }
.e-con .fv-logo { flex-shrink: 0; }
.fv-utility-link a, .fv-utility-link a:hover { color: inherit; text-decoration: none; }
.fv-utility-link a:hover { color: #845BAA; }

@media (max-width: 1279px) {
  .fv-utility-phones .elementor-icon-list-item:nth-child(n+3) { display: none; }
}

/* ---------- 8. Hero ---------- */
.fv-hero-media { position: relative; }
.fv-hero-media::before {
  content: ""; position: absolute; z-index: 0; right: -24px; top: 40px; bottom: -24px; width: 78%;
  border-radius: 999px 999px 16px 16px; background: #E7DBF1;
}
.fv-hero-media::after {
  content: ""; position: absolute; z-index: 0; left: -12px; top: -12px; width: 88%; height: calc(100% - 36px);
  border: 1px solid rgba(232,190,111,.7); border-bottom: 0; border-radius: 999px 999px 0 0;
}
.e-con .fv-hero-media .fv-photo { position: relative; z-index: 1; width: 90%; }
.fv-hero-media .fv-photo img { box-shadow: 0 22px 44px -18px rgba(92,58,125,.28); }
.e-con .fv-hero-label { position: absolute; z-index: 2; left: -40px; bottom: 24px; }
@media (max-width: 1024px) { .e-con .fv-hero-label { left: -16px; } }
@media (max-width: 767px) {
  .fv-hero-media::after { display: none; }
  .fv-hero-media::before { right: -12px; }
  .e-con .fv-hero-label { left: 0; bottom: 16px; max-width: 240px; }
}

/* ---------- 9. The Foreviva Difference ---------- */
.fv-diff-media { position: relative; }
.fv-diff-media::before {
  content: ""; position: absolute; z-index: 0; left: -16px; top: -16px; width: 100%; aspect-ratio: 4 / 5;
  border: 1px solid rgba(232,190,111,.7); border-radius: 16px;
}
.e-con .fv-diff-media .fv-photo { position: relative; z-index: 1; }
.e-con .fv-quote { position: absolute; z-index: 2; right: -56px; bottom: -40px; }
@media (max-width: 1024px) { .e-con .fv-quote { right: -24px; } }
@media (max-width: 767px) {
  .fv-diff-media::before { display: none; }
  .e-con .fv-quote { position: relative; right: auto; bottom: auto; margin: -56px 0 0 24px; width: calc(100% - 24px); }
}

/* ---------- 10. Video facade ---------- */
.fv-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; justify-content: center; }
.e-con .fv-video .fv-video-player { position: absolute; inset: 0; z-index: 2; width: 100%; }
.fv-video-player .elementor-wrapper { height: 100%; }
.fv-video-ph { position: relative; z-index: 1; }
.fv-video:has(.fv-video-player .elementor-wrapper) .fv-video-ph { display: none; }
.fv-play .elementor-icon { box-shadow: 0 0 0 10px rgba(255,255,255,.5); }

/* ---------- 11. Validation chips & specialty strip ---------- */
.fv-chips .elementor-icon-list-items { justify-content: center; gap: 10px; }
.fv-chips .elementor-icon-list-item {
  margin: 0 !important; padding: 6px 16px !important; border: 1px solid rgba(203,156,180,.6);
  border-radius: 999px; background: #FEF8F1;
}
.fv-chips .elementor-icon-list-item::after { display: none !important; }
.fv-chips .elementor-icon-list-icon { display: none; }
.fv-specialties .elementor-icon-list-items { justify-content: center; }

/* ---------- 12. L.I.L.Y. roadmap ---------- */
.fv-roadmap { position: relative; }
.fv-step-letter .elementor-heading-title {
  position: relative; z-index: 1; display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto;
  border-radius: 50%; border: 1px solid #DFD0EB; background: #fff;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.fv-step.is-active .fv-step-letter .elementor-heading-title,
.fv-step:hover .fv-step-letter .elementor-heading-title,
.fv-step:focus-within .fv-step-letter .elementor-heading-title {
  background: #845BAA; border-color: #845BAA; color: #fff !important;
  box-shadow: 0 0 0 8px #E7DBF1, 0 22px 44px -18px rgba(92,58,125,.28);
}
.fv-roadmap:hover .fv-step.is-active:not(:hover) .fv-step-letter .elementor-heading-title {
  background: #fff; border-color: #DFD0EB; color: #845BAA !important; box-shadow: none;
}
.fv-step-detail { width: 100%; margin-top: 8px; }
@media (min-width: 1025px) {
  .fv-roadmap::before {
    content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 46px; height: 1px;
    background: linear-gradient(90deg, #E8BE6F, #DFD0EB);
  }
}
@media (max-width: 767px) {
  .fv-roadmap::before { content: ""; position: absolute; left: 27px; top: 16px; bottom: 16px; width: 1px; background: #DFD0EB; }
  .fv-step { position: relative; padding-left: 72px; }
  .e-con .fv-step-letter { position: absolute; left: 0; top: 0; width: auto; }
  .fv-step-letter .elementor-heading-title { width: 56px; height: 56px; }
  .fv-step-text, .fv-step-text p { text-align: left; }
}

/* ---------- 13. Testimonials, team, badges ---------- */
.fv-notice .elementor-heading-title {
  display: inline-block; padding: 6px 16px; border: 1px dashed rgba(132,91,170,.5); border-radius: 999px; background: rgba(255,255,255,.6);
}
.fv-tag-dashed .elementor-heading-title { display: inline-block; padding: 4px 8px; border: 1px dashed #E8BE6F; border-radius: 6px; }
.fv-badge .elementor-heading-title { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #E7DBF1; }
.fv-badge--soon .elementor-heading-title { background: rgba(232,190,111,.4); }
@media (min-width: 768px) and (max-width: 1024px) {
  .e-con .fv-team-feature .fv-team-feature-img { width: 50%; }
}

/* ---------- 14. Locations (final CTA) ---------- */
.fv-locations { position: relative; }
.fv-locations::before {
  content: ""; position: absolute; right: -96px; top: -40px; width: 420px; height: 520px; pointer-events: none;
  background: no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 520' fill='none'%3E%3Cpath d='M20 520V210a190 190 0 01380 0v310' stroke='%23E8BE6F' stroke-opacity='.35'/%3E%3Cpath d='M80 520V220a130 130 0 01260 0v300' stroke='%23E8BE6F' stroke-opacity='.2'/%3E%3C/svg%3E");
}
.fv-locations > .e-con-inner { position: relative; z-index: 1; }
@media (max-width: 767px) { .fv-locations::before { display: none; } }

/* ---------- 15. Footer & mobile booking bar ---------- */
.fv-footer-contact a { color: #845BAA; }
.fv-footer-contact p { margin-bottom: 14px; }
.fv-mobilebar-call .elementor-icon { border: 1px solid rgba(132,91,170,.45); }
@media (max-width: 767px) {
  .fv-mobilebar { position: fixed !important; left: 0; right: 0; bottom: 0; z-index: 980;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
}

/* ---------- 16. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .elementor-invisible { visibility: visible !important; }
  .animated { animation: none !important; }
  .fv-card, .fv-card *, .fv-btn .elementor-button, .fv-textlink .elementor-button-icon,
  .fv-step-letter .elementor-heading-title { transition: none !important; }
  .fv-card--hover:hover, .fv-card--hover:focus-within, .fv-card--hover:hover .fv-zoom img { transform: none; }
}


/* ================================================================
   Foreviva v1.0.1 - Elementor Free layout alignment fixes
   Only applies to Foreviva sections/classes.
   Keep original plugin active; do NOT paste a duplicate stylesheet.
   ================================================================ */

/* Keep the entire header, page section and footer aligned to the same
   1200px content system. Soft canvas backgrounds remain full-bleed. */
.fv-align-section.e-con {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-inline: auto;
}
.fv-align-section.e-con-boxed > .e-con-inner {
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin-inline: auto;
  box-sizing: border-box;
}

/* Both the plugin menu and Elementor widgets must be allowed to shrink
   without forcing the logo or booking buttons outside the header. */
.fv-mainnav .fv-nav { min-width: 0; }
@media (min-width: 1280px) {
  .fv-mainnav .fv-nav { flex: 1 1 auto; }
}

/* Grid fallback. In some Elementor installs, imported grid settings are
   not applied until Elementor's Grid Containers feature is enabled.
   These class-based rules keep the cards aligned regardless. */
.fv-grid.e-con {
  display: grid !important;
  align-items: stretch;
  min-width: 0;
}
.fv-grid.e-con > .e-con, .fv-grid.e-con > .elementor-element { min-width: 0; }
.fv-grid-2.e-con { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.fv-grid-3.e-con { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.fv-grid-4.e-con { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
@media (min-width: 1025px) {
  .fv-grid.e-con { gap: 24px !important; }
  .fv-footer .fv-grid.e-con { gap: 36px !important; }
}
@media (max-width: 1024px) {
  .fv-grid.e-con { gap: 24px !important; }
  .fv-grid-tablet-2.e-con { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .fv-grid-tablet-1.e-con { grid-template-columns: 1fr !important; }
  .fv-footer .fv-grid.e-con { gap: 30px !important; }
}
@media (max-width: 767px) {
  .fv-grid.e-con, .fv-grid-tablet-2.e-con, .fv-grid-tablet-1.e-con {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 20px !important;
  }
}

/* RESERVE IMAGE SPACE. All twelve image widgets in the source Homepage
   JSON had no image selected, so their aspect ratio collapsed on import.
   The neutral placeholder images bundled with this plugin will be shown
   until the webmaster selects real approved photos in Elementor. */
.fv-photo:not(:has(img:not([src*="placeholder"]))) {
  display: block;
  position: relative;
  width: 100%;
  min-height: 200px;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  background-color: #E7DBF1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.fv-photo.fv-ratio-43:not(:has(img:not([src*="placeholder"]))) { aspect-ratio: 4 / 3; }
.fv-photo.fv-arch:not(:has(img:not([src*="placeholder"]))) {
  border-radius: 999px 999px 16px 16px;
}
.fv-photo:not(:has(img:not([src*="placeholder"])))::after { content: none !important; }
.fv-photo:not(:has(img:not([src*="placeholder"]))) > .elementor-widget-container {
  min-height: 100%;
}
.fv-photo.fv-slot-1:not(:has(img:not([src*="placeholder"]))) { background-image: url("../images/hero-dr-osias-portrait-PLACEHOLDER.webp"); }
.fv-photo.fv-slot-2:not(:has(img:not([src*="placeholder"]))) { background-image: url("../images/difference-dr-osias-in-clinic-PLACEHOLDER.webp"); }
.fv-photo.fv-slot-3:not(:has(img:not([src*="placeholder"]))) { background-image: url("../images/service-endometriosis-care-PLACEHOLDER.webp"); }
.fv-photo.fv-slot-4:not(:has(img:not([src*="placeholder"]))) { background-image: url("../images/service-gynecology-well-woman-PLACEHOLDER.webp"); }
.fv-photo.fv-slot-5:not(:has(img:not([src*="placeholder"]))) { background-image: url("../images/service-hormone-sexual-wellness-PLACEHOLDER.webp"); }
.fv-photo.fv-slot-6:not(:has(img:not([src*="placeholder"]))) { background-image: url("../images/service-longevity-peptides-PLACEHOLDER.webp"); }
.fv-photo.fv-slot-7:not(:has(img:not([src*="placeholder"]))) { background-image: url("../images/service-weight-management-PLACEHOLDER.webp"); }
.fv-photo.fv-slot-8:not(:has(img:not([src*="placeholder"]))) { background-image: url("../images/service-medical-aesthetics-PLACEHOLDER.webp"); }
.fv-photo.fv-slot-9:not(:has(img:not([src*="placeholder"]))) { background-image: url("../images/team-dr-osias-portrait-PLACEHOLDER.webp"); }
.fv-photo.fv-slot-10:not(:has(img:not([src*="placeholder"]))) { background-image: url("../images/team-gabriella-kazevra-PLACEHOLDER.webp"); }
.fv-photo.fv-slot-11:not(:has(img:not([src*="placeholder"]))) { background-image: url("../images/team-lauren-germaine-PLACEHOLDER.webp"); }
.fv-photo.fv-slot-12:not(:has(img:not([src*="placeholder"]))) { background-image: url("../images/team-patricia-provencher-PLACEHOLDER.webp"); }

/* Preserve image aspect ratio when a genuine photo is selected. */
.fv-photo:has(img:not([src*="placeholder"])) { background-image: none; }
@media (max-width: 767px) {
  .fv-align-section.e-con { min-width: 0; }
  .fv-mainnav .fv-logo { min-width: 0; }
  .fv-footer .fv-mobilebar { width: 100%; }
}
