/* Pass 1 — branch cards */
.section_contacts .branches {
  gap: 1.25rem;
}

.section_contacts .branch-card {
  background-color: var(--base-color-brand--tonal-blue, #dbdff4);
}

.section_contacts .branch-card .map-embed {
  border-radius: calc(0.5rem - var(--citivet-frame-stroke-width));
  overflow: hidden;
}

/* Pass 2 — services "What we do" hero image */
.services_hero .services_hero-image {
  border: var(--citivet-frame-stroke);
  box-shadow: var(--citivet-frame-shadow);
  overflow: hidden;
  border-radius: calc(4rem - var(--citivet-frame-stroke-width));
}

/* Wellness — why section hero image */
.wp-why-content .image-4 {
  border: var(--citivet-frame-stroke);
  box-shadow: var(--citivet-frame-shadow);
  box-sizing: border-box;
  border-radius: calc(4rem - var(--citivet-frame-stroke-width));
}

/* Wellness plans index hero image */
.wellness_image-wrapper .wellness-plans_image-hero {
  border: var(--citivet-frame-stroke);
  box-shadow: var(--citivet-frame-shadow);
  box-sizing: border-box;
  border-radius: calc(5rem - var(--citivet-frame-stroke-width));
}

/* Pass 3 — team cards */
.section_team .team-card {
  background-color: var(--base-color-brand--tonal-blue, #dbdff4);
}

.section_team .team-card .team-image {
  border-radius: calc(0.5rem - var(--citivet-frame-stroke-width));
}

/* Pass 4 — contact gallery cards */
.gallery-card {
  background-color: #fff;
}

/* Pass 6 — wellness cards */
.wp-card-grid,
.wp-card-grid-3,
.wp-card-grid-4,
.wp-benefit-grid,
.wp-lifestage-grid,
.wp-nav-grid {
  gap: 1.75rem;
}

.wp-card,
.wp-plan-card {
  background-color: var(--base-color-brand--light-blue, #e9ebf8);
}

.wp-card .wp-card-image {
  border-bottom-left-radius: calc(1rem - var(--citivet-frame-stroke-width));
  border-bottom-right-radius: calc(1rem - var(--citivet-frame-stroke-width));
}

.wp-benefit-card {
  background-color: #fff;
}

.wp-hero-visual {
  --wp-hero-radius: var(--citivet-button-radius, 0.75rem);
  position: relative;
  align-self: center;
  width: min(100%, 24rem);
  max-height: none;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: var(--citivet-frame-stroke);
  box-shadow: var(--citivet-frame-shadow);
  border-radius: calc(var(--wp-hero-radius) - var(--citivet-frame-stroke-width));
  background-color: var(--base-color-brand--tonal-blue, #dbdff4);
}

.wp-hero-visual .wp-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.wp-dog_hero .wp-hero-visual .wp-hero-image {
  transform: scale(1.3);
}

.wp-lifestage-card {
  background-color: #f8f9fa;
}

.wp-nav-card {
  background-color: #fff;
}

/* Pass 7 — advanced technology benefit cards */
.technology-benefits_grid {
  gap: 1.75rem;
}

.technology-benefits_card {
  background-color: var(--base-color-brand--light-blue, #e9ebf8);
}

.technology-benefits_card .technology-benefits_image-wrapper {
  border-top-left-radius: calc(1rem - var(--citivet-frame-stroke-width));
  border-top-right-radius: calc(1rem - var(--citivet-frame-stroke-width));
  overflow: hidden;
}

.section_veterinary-technology .veterinary-technology_machine-block {
  background-color: var(--base-color-brand--light-blue, #e9ebf8);
  overflow: visible;
}

.section_veterinary-technology .veterinary-technology_machine-block .veterinary-technology_machine-image-wrapper {
  border-radius: calc(1rem - var(--citivet-frame-stroke-width));
  overflow: hidden;
}

.benefit-pill-header {
  border-radius: var(--citivet-button-radius);
  border: var(--citivet-frame-stroke);
  box-sizing: border-box;
  transition: color 0.25s ease-out;
}

.benefit-pill-content {
  padding-left: 0;
  padding-right: 0;
}

.benefit-pill-content .veterinary-technology_benefit-description {
  margin-top: 0.5rem;
  padding: 0.75rem 1rem;
  border: var(--citivet-frame-stroke);
  border-radius: var(--citivet-button-radius);
  background-color: var(--base-color-brand--light-blue, #e9ebf8);
  box-sizing: border-box;
}

/* Buttons: squared radius + navy hard offset */
.button:not(.is-text) {
  border-radius: var(--citivet-button-radius);
  box-shadow: var(--citivet-frame-shadow);
  transition:
    transform 0.25s ease-out,
    background-color 0.25s ease-out,
    border-color 0.25s ease-out,
    color 0.25s ease-out;
}

.button:not(.is-text):hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--citivet-frame-shadow);
}

/* Hover: lift only — no fill / colour swap */
.button.is-brand:hover {
  background-color: var(--background-color--background-tertiary);
  border-color: #ff5e5e;
  color: var(--text-color--text-alternate);
}

.button.emigration-cta:hover {
  background-color: transparent;
  border-color: var(--base-color-brand--navy);
  color: var(--base-color-brand--navy);
}

.button:not(.is-text):active {
  transform: translate(0, 0);
  box-shadow: var(--citivet-frame-shadow);
}

.button.is-secondary:not(.is-text) {
  border: var(--citivet-frame-inner-stroke);
}

.contact-form .button:not(.is-text),
.careers-form .button:not(.is-text),
.careers-form_success-actions .button:not(.is-text) {
  box-shadow: none;
}

.contact-form .button:not(.is-text):hover,
.contact-form .button:not(.is-text):active,
.careers-form .button:not(.is-text):hover,
.careers-form .button:not(.is-text):active,
.careers-form_success-actions .button:not(.is-text):hover,
.careers-form_success-actions .button:not(.is-text):active {
  transform: none;
  box-shadow: none;
}

.button.emigration-cta:not(.is-text),
.button.is-secondary.emigration-cta:not(.is-text) {
  border: 1px solid var(--base-color-brand--navy, #2d3277);
}

/* Specials card: one circular frame on the wrapper only */
.special-visual > .special-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Floating labels — contact, careers, emigration */
.float-field {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
}

.float-field_label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left top;
  margin: 0;
  max-width: calc(100% - 2rem);
  color: #6b7280;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.2;
  pointer-events: none;
  transition:
    top 0.15s ease,
    transform 0.15s ease,
    font-size 0.15s ease,
    color 0.15s ease;
}

.float-field_label.is-required::after {
  content: ' *';
  color: #b91c1c;
}

.float-field_input.w-input {
  height: auto;
  min-height: 3.5rem;
  margin-bottom: 0;
  padding: 1.25rem 0.875rem 0.5rem;
}

textarea.float-field_input.w-input {
  min-height: 7rem;
  padding-top: 1.55rem;
}

.float-field_input {
  box-sizing: border-box;
  width: 100%;
  min-height: 3.5rem;
  padding: 1.25rem 0.875rem 0.5rem;
  border: 1px solid #c5c9d4;
  border-radius: 8px;
  background-color: #fff;
  color: #222;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.35;
  appearance: none;
  transition:
    border-color 0.15s ease,
    outline-color 0.15s ease;
}

.float-field_input::placeholder {
  color: transparent;
}

.float-field_input--textarea,
textarea.float-field_input {
  min-height: 7rem;
  padding-top: 1.55rem;
  resize: vertical;
}

.float-field--textarea .float-field_label {
  top: 1rem;
  transform: translateY(0);
}

.float-field_input:focus {
  outline: 3px solid color-mix(in srgb, var(--base-color-brand--navy, #2d3277) 28%, transparent);
  outline-offset: 0;
  border-color: var(--base-color-brand--navy, #2d3277);
  background-color: #fff;
  box-shadow: none;
}

.float-field_input:focus + .float-field_label,
.float-field_input:not(:placeholder-shown) + .float-field_label,
select.float-field_input:required:valid + .float-field_label,
.float-field:has(> select:focus) > .float-field_label,
.float-field:has(> select > option:checked:not([value=''])) > .float-field_label,
.float-field--date > .float-field_label {
  top: 0.5rem;
  transform: translateY(0) scale(0.86);
  font-size: 0.75rem;
  color: #6b7280;
}

/* deploy refresh: 2026-08-28 */
