/* ---- css/petvet-global.css ---- */
/* =====================================================================
   PetVet Animal Hospital — optional polish CSS (applied site-wide by the plugin)
   Layout, colors and fonts are native widget settings; this only adds
   details Elementor has no control for. Safe to remove any block.
   Colors are the source's :root tokens: --main #25a6d9, --main-dark #0d76a0,
   --main-soft #c5eeff, --cta #d9751e, --cta-hover #ad570d, --text #333.
   ===================================================================== */

/* Header (pages/site/header.js): transparent over the hero with white logo and text; once
   scrolled past the sticky effects offset, Elementor Pro adds .elementor-sticky--effects and
   the bar fades to white with the colour logo and #333 text, like the source's scroll
   interaction. The !important flags beat the widgets' own per-element colour rules. */
.vc-header { transition: background-color .4s ease, box-shadow .4s ease; }
.vc-header.elementor-sticky--effects { background-color: #FFFFFF; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.vc-logo { position: relative; }
.vc-logo .vc-logo-dark { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.vc-logo .elementor-widget-image { transition: opacity .4s ease; }
.vc-header.elementor-sticky--effects .vc-logo-light { opacity: 0; pointer-events: none; }
.vc-header.elementor-sticky--effects .vc-logo-dark { opacity: 1; pointer-events: auto; }
.vc-header .elementor-nav-menu--main .elementor-item,
.vc-header .elementor-icon-list-text,
.vc-header .elementor-icon-list-icon i { transition: color .4s ease; }
.vc-header.elementor-sticky--effects .elementor-nav-menu--main .elementor-item,
.vc-header.elementor-sticky--effects .elementor-icon-list-text,
.vc-header.elementor-sticky--effects .elementor-icon-list-icon i { color: #333333 !important; }
.vc-header.elementor-sticky--effects .elementor-icon-list-icon svg,
.vc-header.elementor-sticky--effects .elementor-nav-menu--main .sub-arrow svg { fill: #333333 !important; }
/* The details + menu column takes the room left beside the logo instead of a full 100%
   that will not shrink, which pushed the menu off the right edge. */
.vc-header .vc-header-main { flex: 1 1 0 !important; min-width: 0 !important; }
.vc-header.elementor-sticky--effects .elementor-nav-menu--main .elementor-item:hover,
.vc-header.elementor-sticky--effects .elementor-nav-menu--main .elementor-item:focus,
.vc-header.elementor-sticky--effects .elementor-icon-list-item > a:hover .elementor-icon-list-text { color: #0D76A0 !important; }

/* Buttons: the source adds a shadow on hover (.button:hover) */
.vc-btn .elementor-button { transition: background-color .2s ease-in, color .2s ease-in, border-color .2s ease-in, box-shadow .2s ease-in; }
.vc-btn--cta .elementor-button:hover, .vc-btn--main .elementor-button:hover { box-shadow: 0 4px 9px rgba(0, 0, 0, .45); }

/* "Here to help" band: faint heartbeat line along the bottom */
.vc-hh { position: relative; }
.vc-hh::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 132px; pointer-events: none; z-index: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='280' height='132'%3E%3Cpath d='M0 78 H120 L132 78 L140 50 L149 104 L158 50 L166 78 L280 78' fill='none' stroke='rgba(255,255,255,0.11)' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-x left bottom;
}
.vc-hh > .e-con-inner, .vc-hh > .e-con { position: relative; z-index: 1; }
.vc-hh a:hover .vc-hh-v .elementor-heading-title { color: #AD570D; }

/* Gallery images: gentle zoom on hover */
.vc-home-gallery .elementor-widget-image, .vc-gallery .elementor-widget-image { overflow: hidden; border-radius: 12px; }
.vc-home-gallery .elementor-widget-image a img, .vc-gallery .elementor-widget-image a img { transition: transform .4s ease; }
.vc-home-gallery .elementor-widget-image a:hover img, .vc-gallery .elementor-widget-image a:hover img { transform: scale(1.04); }

/* Home service icons: the source recolours the template's icons with a hue rotation (.graphic-icon) */
.vc-graphic-icon img { filter: hue-rotate(158deg); }

/* Reviews badge: hover lift */
.vc-reviews-badge { transition: transform .2s ease, box-shadow .2s ease; }
.vc-reviews-badge:hover { transform: translateY(-2px); }

/* ACF rich-text fields on the single / loop templates (cms.js acfFor().rich): an HTML
   widget bound to the field, which has no typography controls of its own. */
.vc-acf-rich { font-family: Montserrat, sans-serif; font-size: 16px; line-height: 1.75; color: #333; }
.vc-acf-rich p, .vc-acf-rich ul, .vc-acf-rich ol { margin: 0 0 16px; }
.vc-acf-rich h2, .vc-acf-rich h3 { font-family: Montserrat, sans-serif; font-weight: 700; color: #0D76A0; margin: 24px 0 12px; }
.vc-acf-rich img { max-width: 100%; height: auto; border-radius: 12px; }
.vc-acf-rich a { color: #25A6D9; text-decoration: underline; }

