/* VetFirst Services & Solutions — dedicated BEM namespace */
.vf-services {
    --vs-navy: var(--vf-navy-950, #06152b);
    --vs-red: var(--vf-red-600, #c81724);
    --vs-line: var(--vf-border, #dce3ea);
    --vs-muted: var(--vf-text-secondary, #536170);
    overflow: hidden;
}

.vf-services__hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(circle at 90% 0%, rgba(201, 206, 214, .35), transparent 42%), linear-gradient(120deg, #f9fafc, #eff3f8);
    /* padding: clamp(65px, 8vw, 112px) 0; */
    padding: 40px 0;
}

.vf-services__hero::after {
    content: "VF";
    position: absolute;
    right: -25px;
    bottom: -110px;
    font: 800 clamp(230px, 29vw, 520px)/1 "Outfit", sans-serif;
    color: rgba(6, 21, 43, .025);
    pointer-events: none;
    z-index: -1
}

.vf-services__hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(295px, .7fr);
    align-items: center;
    gap: clamp(30px, 5vw, 85px)
}

.vf-services__eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 17px;
    color: var(--vs-red);
    font: 700 11px/1.4 "Inter", sans-serif;
    letter-spacing: .15em;
    text-transform: uppercase
}

.vf-services__eyebrow svg {
    width: 18px;
    height: 18px
}

.vf-services__eyebrow--dark {
    color: var(--vs-red)
}

.vf-services__hero h1 {
    font: 600 clamp(45px, 5.7vw, 82px)/1.07 "Outfit", sans-serif;
    letter-spacing: -.055em;
    color: var(--vs-navy);
    margin: 0 0 26px
}

.vf-services__hero h1 span,
.vf-services__section-heading h2 span,
.vf-services__catalog-header h2 span {
    color: var(--vs-red)
}

.vf-services__hero-lede {
    max-width: 650px;
    color: var(--vs-muted);
    font: 400 16px/1.85 "Inter", sans-serif;
    margin: 0 0 32px
}

.vf-services__hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px
}

.vf-services__hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font: 600 13px/1.4 "Inter", sans-serif;
    color: var(--vs-navy);
    transition: color .2s
}

.vf-services__hero-secondary:hover {
    color: var(--vs-red)
}

.vf-services__hero-secondary svg {
    width: 17px;
    height: 17px
}

.vf-services__hero-visual {
    min-height: 340px;
    display: flex;
    align-items: stretch
}

.vf-services__hero-visual-grid {
    width: 100%;
    min-height: 340px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #0d2b4d, #06152b);
    border-radius: var(--vf-radius-lg, 22px);
    box-shadow: var(--vf-shadow-lg, 0 30px 80px rgba(6, 21, 43, .16));
    color: #fff
}

.vf-services__hero-visual-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, transparent 0, transparent 49px, rgba(255, 255, 255, .055) 50px), repeating-linear-gradient(0deg, transparent 0, transparent 49px, rgba(255, 255, 255, .055) 50px);
    pointer-events: none
}

.vf-services__hero-visual-kicker,
.vf-services__hero-visual-bottom {
    position: relative;
    font: 700 10px/1.6 "Inter", sans-serif;
    letter-spacing: .16em;
    color: #b9c8db
}

.vf-services__hero-visual-symbol {
    position: absolute;
    right: 45px;
    top: 70px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle, rgba(200, 23, 36, .2), transparent 75%)
}

.vf-services__hero-visual-symbol svg {
    width: 74px;
    height: 74px;
    color: #fa6570;
    stroke-width: 1.2
}

.vf-services__hero-visual-grid p {
    position: relative;
    align-self: flex-start;
    font: 400 clamp(22px, 2.3vw, 32px)/1.28 "Outfit", sans-serif;
    margin: auto 0 22px
}

.vf-services__hero-visual-grid p strong {
    font-weight: 600;
    color: #fff
}

.vf-services__hero-visual-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding-top: 16px
}

.vf-services__hero-visual-bottom svg {
    width: 20px;
    height: 20px;
    color: #fa6570
}

.vf-services__overview {
    padding: clamp(65px, 7vw, 90px) 0;
    background: #fff
}

.vf-services__section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 35px
}

.vf-services__section-heading h2,
.vf-services__catalog-header h2 {
    font: 600 clamp(30px, 3.6vw, 48px)/1.16 "Outfit", sans-serif;
    letter-spacing: -.035em;
    color: var(--vs-navy);
    margin: 0
}

.vf-services__section-heading>p {
    max-width: 355px;
    margin: 0;
    color: var(--vs-muted);
    font: 400 14px/1.8 "Inter", sans-serif
}

.vf-services__jump-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px
}

.vf-services__jump {
    position: relative;
    min-height: 145px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 17px;
    border: 1px solid var(--vs-line);
    border-radius: 12px;
    padding: 21px;
    background: #fff;
    color: var(--vs-navy);
    box-shadow: 0 9px 26px rgba(6, 21, 43, .025);
    transition: transform .22s, box-shadow .22s, border-color .22s
}

.vf-services__jump>svg:first-child {
    width: 25px;
    height: 25px;
    color: var(--vs-red)
}

.vf-services__jump>span {
    font: 600 17px/1.3 "Outfit", sans-serif
}

.vf-services__jump-arrow {
    position: absolute;
    right: 18px;
    top: 22px;
    width: 16px;
    height: 16px;
    color: #9aa8b9
}

.vf-services__jump:hover {
    transform: translateY(-5px);
    border-color: #e8b0b5;
    box-shadow: var(--vf-shadow-md, 0 18px 50px rgba(6, 21, 43, .1))
}

.vf-services__jump:hover .vf-services__jump-arrow {
    color: var(--vs-red)
}

.vf-services__catalog {
    background: #f5f7fa;
    padding: clamp(70px, 8vw, 105px) 0
}

.vf-services__catalog-header {
    margin-bottom: 40px
}

.vf-services__catalog-header>p:last-child {
    color: var(--vs-muted);
    font: 400 14px/1.75 "Inter", sans-serif;
    margin: 14px 0 0
}

.vf-services__category {
    scroll-margin-top: 110px;
    display: grid;
    grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
    gap: 40px;
    align-items: stretch;
    padding: 38px;
    margin-bottom: 24px;
    border: 1px solid var(--vs-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(6, 21, 43, .035)
}

.vf-services__category:last-child {
    margin-bottom: 0
}

.vf-services__category-intro {
    padding: 6px 16px 6px 0;
    border-right: 1px solid var(--vs-line)
}

.vf-services__category-badge {
    width: 53px;
    height: 53px;
    display: grid;
    place-items: center;
    background: #fff0f1;
    border: 1px solid #f6d4d6;
    border-radius: 11px;
    color: var(--vs-red);
    margin-bottom: 28px
}

.vf-services__category-badge svg {
    width: 25px;
    height: 25px
}

.vf-services__category-number {
    display: block;
    color: var(--vs-red);
    font: 700 10px/1.5 "Inter", sans-serif;
    letter-spacing: .15em;
    margin-bottom: 10px
}

.vf-services__category h3 {
    color: var(--vs-navy);
    font: 600 clamp(25px, 2.6vw, 36px)/1.2 "Outfit", sans-serif;
    letter-spacing: -.025em;
    margin-bottom: 15px
}

.vf-services__category-intro p {
    font: 400 14px/1.85 "Inter", sans-serif;
    color: var(--vs-muted);
    max-width: 390px;
    margin: 0 0 20px
}

.vf-services__category-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--vs-red);
    font: 600 12px/1.5 "Inter", sans-serif
}

.vf-services__category-cta svg {
    width: 16px;
    height: 16px;
    transition: transform .2s
}

.vf-services__category-cta:hover svg {
    transform: translate(2px, -2px)
}

.vf-services__category-details {
    padding: 4px 0
}

.vf-services__category-details-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--vs-line);
    padding-bottom: 17px;
    margin-bottom: 17px
}

.vf-services__category-details-heading strong {
    font: 600 14px/1.4 "Outfit", sans-serif;
    color: var(--vs-navy)
}

.vf-services__category-details-heading span {
    font: 600 10px/1.5 "Inter", sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8591a0
}

.vf-services__items {
    padding: 0;
    margin: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px 15px
}

.vf-services__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-height: 48px;
    padding: 13px 12px;
    background: #f8fafc;
    border: 1px solid #edf0f4;
    border-radius: 7px;
    color: #39495d;
    font: 500 12.5px/1.6 "Inter", sans-serif
}

.vf-services__item-indicator {
    flex: 0 0 17px;
    height: 17px;
    display: grid;
    place-items: center;
    margin-top: 1px;
    border-radius: 50%;
    background: #fce8ea;
    color: var(--vs-red)
}

.vf-services__item-indicator svg {
    width: 11px;
    height: 11px;
    stroke-width: 2.5
}

.vf-services__cta {
    background: var(--vs-navy);
    padding: clamp(65px, 7vw, 94px) 0;
    color: #fff;
    position: relative;
    overflow: hidden
}

.vf-services__cta::after {
    content: "VF";
    position: absolute;
    right: -30px;
    bottom: -110px;
    color: rgba(255, 255, 255, .03);
    font: 800 400px/1 "Outfit", sans-serif;
    pointer-events: none
}

.vf-services__cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px
}

.vf-services__cta h2 {
    font: 600 clamp(29px, 3.5vw, 46px)/1.18 "Outfit", sans-serif;
    letter-spacing: -.025em;
    margin: 0 0 16px;
    color: #fff
}

.vf-services__cta h2 span {
    color: #ff737b
}

.vf-services__cta p:not(.vf-services__eyebrow) {
    max-width: 650px;
    color: #d3dce6;
    font: 400 14px/1.8 "Inter", sans-serif;
    margin: 0
}

.vf-services__cta .btn {
    flex-shrink: 0
}

@media(max-width:1100px) {
    .vf-services__jump-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .vf-services__category {
        gap: 28px;
        padding: 30px
    }
}

@media(max-width:800px) {
    .vf-services__hero-inner {
        grid-template-columns: 1fr
    }

    .vf-services__hero-visual {
        min-height: 245px
    }

    .vf-services__hero-visual-grid {
        min-height: 245px
    }

    .vf-services__section-heading {
        align-items: start;
        flex-direction: column;
        gap: 14px
    }

    .vf-services__jump-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .vf-services__category {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .vf-services__category-intro {
        border-right: 0;
        border-bottom: 1px solid var(--vs-line);
        padding: 0 0 22px
    }

    .vf-services__category-badge {
        margin-bottom: 15px
    }

    .vf-services__cta-inner {
        align-items: start;
        flex-direction: column;
        gap: 28px
    }
}

@media(max-width:600px) {
    .vf-services__hero {
        padding: 62px 0
    }

    .vf-services__hero h1 {
        font-size: clamp(38px, 11vw, 54px)
    }

    .vf-services__hero-lede {
        font-size: 14px
    }

    .vf-services__hero-visual {
        display: none
    }

    .vf-services__overview,
    .vf-services__catalog {
        padding: 60px 0
    }

    .vf-services__jump-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px
    }

    .vf-services__jump {
        min-height: 125px;
        padding: 16px
    }

    .vf-services__jump>span {
        font-size: 15px
    }

    .vf-services__category {
        padding: 22px;
        gap: 23px;
        border-radius: 13px
    }

    .vf-services__items {
        grid-template-columns: 1fr;
        gap: 8px
    }

    .vf-services__item {
        min-height: 44px
    }

    .vf-services__cta {
        padding: 64px 0
    }
}

@media(max-width:390px) {
    .vf-services__jump-grid {
        grid-template-columns: 1fr
    }

    .vf-services__jump {
        min-height: 75px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start
    }

    .vf-services__jump-arrow {
        top: 28px
    }
}

@media(prefers-reduced-motion:reduce) {

    .vf-services__jump,
    .vf-services__category-cta svg {
        transition: none
    }
}

/* -------------------------------------------------------------- */

/* ==========================================================
   VETFIRST SERVICES — HERO ENQUIRY FORM
   BEM Namespace: vf-services
   ========================================================== */

/* Hero grid adjustment */
.vf-services__hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: clamp(35px, 5vw, 75px);
}

/* Form container */
.vf-services__hero-form-wrap {
  position: relative;
  width: 100%;
  padding: clamp(24px, 2.6vw, 36px);
  border: 1px solid #e6eaf1;
  border-radius: 20px;
  background: #ffffff;
  box-shadow:
    0 24px 70px rgba(6, 21, 43, 0.09),
    0 3px 12px rgba(6, 21, 43, 0.03);
}

/* Small top accent */
.vf-services__hero-form-wrap::before {
  position: absolute;
  top: 0;
  left: 36px;
  width: 65px;
  height: 3px;
  border-radius: 0 0 5px 5px;
  background: #c81724;
  content: "";
}

/* Form heading */
.vf-services__hero-form-heading {
  margin-bottom: 22px;
}

.vf-services__hero-form-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  color: #c81724;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.vf-services__hero-form-eyebrow svg {
  width: 15px;
  height: 15px;
}

.vf-services__hero-form-heading h2 {
  margin: 0 0 8px;
  color: #06152b;
  font-family: "Outfit", sans-serif;
  font-size: clamp(24px, 2.2vw, 31px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.7px;
}

.vf-services__hero-form-heading h2 span {
  color: #c81724;
}

.vf-services__hero-form-heading p {
  max-width: 450px;
  margin: 0;
  color: #657184;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  line-height: 1.65;
}

/* Form grid */
.vf-services__form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 13px;
}

.vf-services__form-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 7px;
}

.vf-services__form-group--full {
  grid-column: 1 / -1;
}

/* Labels */
.vf-services__form-group label {
  display: block;
  margin: 0;
  color: #233550;
  font-family: "Inter", sans-serif;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.4;
}

.vf-services__form-group label span {
  color: #c81724;
}

/* Fields */
.vf-services__form-group input,
.vf-services__form-group select,
.vf-services__form-group textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 11px 13px;
  border: 1px solid #e0e5ee;
  border-radius: 7px;
  outline: none;
  background: #f9fafc;
  color: #06152b;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.vf-services__form-group input::placeholder,
.vf-services__form-group textarea::placeholder {
  color: #98a2b3;
}

.vf-services__form-group input:hover,
.vf-services__form-group select:hover,
.vf-services__form-group textarea:hover {
  border-color: #b7c2d1;
}

/* Focus interaction */
.vf-services__form-group input:focus,
.vf-services__form-group select:focus,
.vf-services__form-group textarea:focus {
  border-color: #c81724;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(200, 23, 36, 0.08);
}

/* Select field */
.vf-services__form-group select {
  appearance: auto;
  cursor: pointer;
}

.vf-services__form-group select:invalid {
  color: #98a2b3;
}

/* Textarea */
.vf-services__form-group textarea {
  min-height: 88px;
  resize: vertical;
}

/* Submit button */
.vf-services__form-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 47px;
  margin-top: 20px;
  padding: 12px 20px;
  border: 1px solid #c81724;
  border-radius: 7px;
  background: #c81724;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.vf-services__form-submit svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.vf-services__form-submit:hover {
  border-color: #a9121d;
  background: #a9121d;
  box-shadow: 0 8px 20px rgba(200, 23, 36, 0.16);
  transform: translateY(-1px);
}

.vf-services__form-submit:hover svg {
  transform: translate(2px, -2px);
}

.vf-services__form-submit:focus-visible {
  outline: 3px solid rgba(200, 23, 36, 0.3);
  outline-offset: 3px;
}

/* Privacy note */
.vf-services__form-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 0;
  color: #8490a1;
  font-family: "Inter", sans-serif;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

.vf-services__form-note svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

/* ==========================================================
   RESPONSIVE — LARGE TABLETS
   ========================================================== */

@media (max-width: 1100px) {
  .vf-services__hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 30px;
  }

  .vf-services__hero-form-wrap {
    padding: 25px;
  }
}

/* ==========================================================
   RESPONSIVE — TABLET
   ========================================================== */

@media (max-width: 900px) {
  .vf-services__hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .vf-services__hero-copy {
    max-width: 750px;
  }

  .vf-services__hero-form-wrap {
    max-width: 680px;
    margin-inline: auto;
  }
}

/* ==========================================================
   RESPONSIVE — MOBILE
   ========================================================== */

@media (max-width: 575px) {
  .vf-services__hero-form-wrap {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .vf-services__hero-form-wrap::before {
    left: 18px;
  }

  .vf-services__hero-form-heading h2 {
    font-size: 24px;
  }

  .vf-services__form-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .vf-services__form-group--full {
    grid-column: auto;
  }

  .vf-services__form-group input,
  .vf-services__form-group select {
    min-height: 46px;
  }

  .vf-services__form-submit {
    min-height: 48px;
  }
}
