@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Lora:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --green: #087b39;
  --green-deep: #075d30;
  --green-dark: #0b2858;
  --green-soft: #eef6ef;
  --lime: #42c36a;
  --navy: #0b2554;
  --ink: #162846;
  --muted: #61708a;
  --paper: #ffffff;
  --white: #ffffff;
  --line: #e2e9ef;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-display: 'Lora', Georgia, serif;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(var(--container), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 12px; left: 12px; padding: 12px 16px; border-radius: 8px; background: var(--lime); color: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
a:focus-visible, button:focus-visible { outline: 3px solid #10803c; outline-offset: 3px; }

/* Utility strip and clean institutional navigation */
.topline { background: var(--green); color: rgba(255,255,255,.96); font-size: 11px; letter-spacing: .025em; }
.topline-inner { min-height: 34px; display: flex; align-items: center; gap: 9px; }
.topline p { margin: 0; flex: 1; }
.topline a { color: #fff; font-weight: 700; transition: opacity .2s ease; }
.topline a:hover { opacity: .78; }
.topline-dot { width: 6px; height: 6px; border-radius: 50%; background: #c8f1d3; }
.site-header { position: relative; z-index: 10; background: var(--paper); box-shadow: 0 1px 0 rgba(11,37,84,.07); }
.header-inner { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 164px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 2.7vw, 38px); color: var(--navy); font-size: 12px; font-weight: 700; }
.primary-nav > a:not(.button) { transition: color .18s ease; }
.primary-nav > a:not(.button):hover { color: var(--green); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 999px; font-size: 12px; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(10,45,34,.13); }
.button-small { min-height: 42px; padding-inline: 19px; font-size: 11px; }
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: #15396e; }
.button-lime { background: var(--lime); color: var(--navy); }
.button-lime:hover { background: #62d583; }
.menu-toggle { display: none; }

/* Deep-blue editorial hero inspired by the reference, using Medvet's own photo and copy */
.hero { position: relative; overflow: hidden; padding: 66px 0 0; background: var(--navy); color: var(--white); }
.hero::before, .hero::after { position: absolute; content: ''; border: 1px solid rgba(255,255,255,.075); border-radius: 50%; pointer-events: none; }
.hero::before { width: 550px; height: 550px; top: 2%; right: -270px; }
.hero::after { width: 380px; height: 380px; top: 15%; right: -185px; }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: clamp(44px, 7vw, 96px); padding-bottom: 54px; }
.hero-copy { padding: 0 0 10px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 19px; color: #71839c; font-size: 9px; font-weight: 700; letter-spacing: .16em; line-height: 1.45; text-transform: uppercase; }
.eyebrow-light { color: rgba(238,246,255,.76); }
.eyebrow-line { display: inline-block; width: 23px; height: 1px; background: var(--lime); }
.eyebrow-separator { color: var(--lime); }
.hero h1, .section-heading h2, .partnership-copy h2, .contact-inner h2, .instagram-intro h2 { margin: 0; font-family: var(--font-display); font-size: clamp(42px, 5vw, 66px); font-weight: 600; letter-spacing: -.045em; line-height: 1.1; }
.hero h1 { max-width: 670px; }
.hero h1 em, .contact-inner h2 em { color: var(--lime); font-style: normal; }
.hero-lede { max-width: 500px; margin: 20px 0 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; transition: gap .2s ease, color .2s ease; }
.text-link:hover { gap: 15px; }
.text-link-light { color: var(--white); }
.hero-note { display: flex; align-items: flex-start; gap: 14px; max-width: 370px; margin-top: 42px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-note-mark { color: var(--lime); font-size: 10px; font-weight: 700; }
.hero-note p { margin: 0; color: rgba(255,255,255,.68); font-size: 10px; line-height: 1.7; }
.hero-visual { position: relative; justify-self: end; width: min(100%, 455px); padding: 0 16px 19px 0; }
.hero-photo-wrap { position: relative; z-index: 1; overflow: hidden; width: 100%; aspect-ratio: .88; border-radius: 12px; background: #dce7dd; box-shadow: 0 22px 55px rgba(0,0,0,.22); }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.photo-caption { position: absolute; right: -12px; bottom: 31px; display: flex; align-items: center; gap: 11px; min-width: 214px; padding: 14px 16px; border-radius: 6px; background: var(--paper); color: var(--ink); box-shadow: 0 12px 30px rgba(5,22,54,.2); }
.caption-pin { position: relative; width: 23px; height: 23px; flex: 0 0 auto; border: 1px solid var(--green); border-radius: 50%; }
.caption-pin::before { position: absolute; content: ''; width: 7px; height: 7px; top: 7px; left: 7px; border-radius: 50%; background: var(--green); }
.photo-caption strong, .photo-caption small { display: block; }
.photo-caption strong { font-family: var(--font-display); font-size: 11px; }
.photo-caption small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.hero-stamp { position: absolute; z-index: 2; top: 22px; left: -28px; display: flex; width: 76px; height: 76px; flex-direction: column; align-items: center; justify-content: center; border: 2px solid var(--navy); border-radius: 50%; background: var(--lime); color: var(--navy); font-size: 7px; letter-spacing: .12em; transform: rotate(-10deg); }
.hero-stamp strong { margin-top: 2px; font-family: var(--font-display); font-size: 17px; letter-spacing: -.04em; }
.hero-stamp span:first-child { font-weight: 700; }
.orbit { position: absolute; z-index: 0; border: 1px solid rgba(66,195,106,.55); border-radius: 50%; }
.orbit-one { right: 32px; bottom: -2px; width: 86px; height: 86px; }
.orbit-two { right: 10px; bottom: -20px; width: 86px; height: 86px; }
.hero-foot { position: relative; z-index: 1; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.19); }
.scroll-cue { display: inline-flex; gap: 11px; color: rgba(255,255,255,.62); font-size: 8px; letter-spacing: .13em; }
.scroll-cue span { color: var(--lime); }
.hero-facts { display: flex; gap: 30px; color: rgba(255,255,255,.66); font-size: 9px; }
.hero-facts strong { color: #b8f3c5; font-weight: 700; }
.hero-facts i { padding-inline: 3px; color: rgba(255,255,255,.42); font-style: normal; }

.section-space { padding-block: 88px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 44px; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 15px; }
.section-heading h2, .partnership-copy h2, .instagram-intro h2 { max-width: 700px; color: var(--navy); font-size: clamp(34px, 4vw, 50px); line-height: 1.14; }
.section-heading h2 em, .partnership-copy h2 em, .instagram-intro h2 em { color: var(--green); font-style: normal; }
.section-intro { max-width: 350px; margin: 0 0 3px; color: var(--muted); font-size: 12px; line-height: 1.75; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.audience-card { min-height: 236px; display: flex; flex-direction: column; padding: 23px 24px 21px; border: 1px solid var(--line); border-radius: 7px; background: #fff; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.audience-card:hover { transform: translateY(-3px); border-color: #c1d9c9; box-shadow: 0 14px 34px rgba(11,37,84,.08); }
.audience-card-featured { background: var(--green-soft); border-color: var(--green-soft); }
.card-topline { display: flex; justify-content: space-between; align-items: center; color: var(--green); font-size: 9px; font-weight: 700; }
.card-arrow { font-size: 15px; }
.audience-card h3 { margin: 28px 0 9px; color: var(--navy); font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.audience-card p { max-width: 300px; margin: 0 0 22px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.audience-card > a { display: inline-flex; gap: 9px; align-items: center; margin-top: auto; color: var(--green); font-size: 10px; font-weight: 700; }
.audience-card > a span { font-size: 15px; transition: transform .2s ease; }
.audience-card > a:hover span { transform: translateX(4px); }

.partners-section { background: #f5f8f6; }
.partner-heading { align-items: flex-end; }
.partner-heading h2 { max-width: 670px; }
.partner-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.partner-card { min-width: 0; min-height: 132px; display: flex; align-items: center; justify-content: center; padding: 18px; border-right: 1px solid var(--line); transition: background .18s ease; }
.partner-card:last-child { border-right: 0; }
.partner-card:hover { background: #f8fbf8; }
.partner-card:focus-visible, .instagram-card:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
.partner-logo { width: auto; height: 64px; max-width: 100%; object-fit: contain; }
.partner-logo-ourofino { width: 200px; height: 58px; }
.partner-logo-biogenesis { width: 158px; height: 72px; }
.partner-logo-avert { width: 164px; height: 70px; }
.partner-logo-ucbvet { width: 190px; height: 60px; }
.partner-logo-labovet { width: 132px; height: 72px; }

.partnership { background: #fff; }
.partnership-layout { max-width: 780px; }
.partnership-copy { max-width: 720px; margin-inline: auto; }
.partnership-copy .eyebrow { margin-bottom: 17px; }
.partnership-copy > p:not(.eyebrow) { max-width: 660px; margin: 16px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.benefit-list { display: grid; gap: 13px; margin: 23px 0 24px; }
.benefit-list > div { display: flex; align-items: flex-start; gap: 12px; }
.benefit-icon { display: grid; width: 21px; height: 21px; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--green); color: white; font-size: 10px; font-weight: 700; }
.benefit-list strong, .benefit-list small { display: block; }
.benefit-list strong { color: var(--navy); font-family: var(--font-display); font-size: 13px; }
.benefit-list small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.text-link-green { color: var(--green); }

.instagram-section { background: #f1f6f2; }
.instagram-intro { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 44px; margin-bottom: 28px; }
.instagram-intro .eyebrow { margin-bottom: 15px; }
.instagram-intro h2 { max-width: 570px; margin: 0; }
.instagram-copy { max-width: 420px; justify-self: end; }
.instagram-copy p { margin: 0 0 12px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.instagram-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.instagram-card { overflow: hidden; position: relative; display: block; aspect-ratio: .8; border-radius: 7px; background: #dce5d4; color: #fff; }
.instagram-card::after { position: absolute; inset: 35% 0 0; content: ''; background: linear-gradient(transparent, rgba(7,25,54,.78)); pointer-events: none; }
.instagram-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.instagram-card:hover img { transform: scale(1.035); }
.instagram-card-caption { position: absolute; z-index: 1; right: 17px; bottom: 16px; left: 17px; display: flex; flex-direction: column; gap: 5px; }
.instagram-card-caption strong { font-family: var(--font-display); font-size: 14px; line-height: 1.25; }
.instagram-card-caption small { color: rgba(255,255,255,.88); font-size: 9px; letter-spacing: .035em; text-transform: uppercase; }
.instagram-card-caption small span { margin-left: 5px; color: #b8f3c5; font-size: 12px; }

.contact-band { overflow: hidden; position: relative; padding-block: 58px; background: var(--navy); color: white; }
.contact-band::after { position: absolute; content: ''; width: 390px; height: 390px; right: 4%; top: -230px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 56px rgba(255,255,255,.025); }
.contact-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 38px; }
.contact-inner .eyebrow { margin-bottom: 13px; }
.contact-inner h2 { max-width: 620px; font-size: clamp(34px, 3.8vw, 48px); }
.contact-inner p:not(.eyebrow) { margin: 12px 0 0; color: rgba(255,255,255,.76); font-size: 11px; }
.button-contact { flex: 0 0 auto; min-width: 205px; }

.site-footer { background: #071c42; color: rgba(255,255,255,.9); }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1.25fr 1fr; gap: 32px; padding-block: 42px 34px; }
.footer-brand .brand img { width: 145px; }
.footer-brand p { margin: 13px 0 0; color: rgba(255,255,255,.64); font-family: var(--font-display); font-size: 11px; line-height: 1.65; }
.footer-brand p strong { color: #b8f3c5; }
.footer-label { display: block; margin: 1px 0 11px; color: rgba(255,255,255,.5); font-size: 8px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.footer-contact, .footer-location, .footer-social { display: flex; align-items: flex-start; flex-direction: column; }
.footer-phone { margin: 0 0 6px; font-family: var(--font-display); font-size: 16px; font-weight: 600; letter-spacing: -.03em; }
.footer-main a:not(.brand) { color: rgba(255,255,255,.82); font-size: 10px; line-height: 1.75; transition: color .18s ease; }
.footer-main a:not(.brand):hover { color: #aaf0bb; }
.footer-bottom { min-height: 46px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.48); font-size: 8px; }
.whatsapp-float { position: fixed; z-index: 9; right: 22px; bottom: 22px; display: grid; width: 52px; height: 52px; place-items: center; border: 3px solid rgba(255,255,255,.94); border-radius: 50%; background: #159447; color: white; box-shadow: 0 5px 20px rgba(4,24,57,.25); transition: transform .2s ease, background .2s ease; }
.whatsapp-float:hover { transform: translateY(-3px); background: #0d7939; }
.whatsapp-float svg { width: 22px; height: 22px; fill: currentColor; }

@media (max-width: 1000px) {
  .container { width: min(var(--container), calc(100% - 48px)); }
  .primary-nav { gap: 17px; font-size: 11px; }
  .hero { padding-top: 56px; }
  .hero-layout { grid-template-columns: 1fr .88fr; gap: 32px; }
  .hero h1 { font-size: clamp(40px, 5.3vw, 58px); }
  .hero-visual { width: min(100%, 390px); }
  .section-space { padding-block: 76px; }
  .partner-card { min-height: 116px; padding: 12px; }
  .partner-logo-ourofino { width: 172px; }
  .partner-logo-biogenesis { width: 136px; }
  .partner-logo-avert { width: 140px; }
  .partner-logo-ucbvet { width: 160px; }
  .partner-logo-labovet { width: 112px; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-social { grid-column: 2; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .container { width: calc(100% - 40px); }
  .topline { font-size: 9px; }
  .topline-inner { min-height: 33px; gap: 7px; }
  .topline a { white-space: nowrap; font-size: 9px; }
  .header-inner { min-height: 72px; }
  .brand img { width: 143px; }
  .menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 16px; height: 1.5px; background: var(--navy); transition: transform .18s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; align-items: stretch; gap: 0; padding: 8px 20px 18px; border-top: 1px solid var(--line); background: #fff; box-shadow: 0 15px 20px rgba(15,42,31,.08); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav > a:not(.button) { padding: 13px 3px; border-bottom: 1px solid var(--line); font-size: 12px; }
  .primary-nav .nav-cta { align-self: flex-start; margin-top: 13px; }
  .hero { padding-top: 42px; }
  .hero-layout { grid-template-columns: 1fr; gap: 30px; padding-bottom: 32px; }
  .hero h1 { max-width: 560px; font-size: clamp(39px, 10vw, 54px); }
  .hero-lede { max-width: 440px; margin-top: 16px; font-size: 13px; }
  .hero-actions { gap: 17px; margin-top: 22px; }
  .hero-actions .button { min-height: 47px; }
  .text-link { font-size: 10px; }
  .hero-note { margin-top: 29px; }
  .hero-visual { width: min(89%, 400px); justify-self: center; margin-right: -4px; }
  .hero-photo-wrap { aspect-ratio: .94; border-radius: 10px; }
  .photo-caption { right: -13px; bottom: 17px; min-width: 196px; padding: 11px 12px; }
  .hero-stamp { top: 14px; left: -20px; width: 68px; height: 68px; font-size: 6px; }
  .hero-stamp strong { font-size: 15px; }
  .hero-foot { min-height: 58px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding-block: 10px; }
  .scroll-cue { display: none; }
  .hero-facts { flex-wrap: wrap; gap: 4px 14px; font-size: 8px; }
  .section-space { padding-block: 62px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 13px; margin-bottom: 27px; }
  .section-heading h2, .partnership-copy h2, .instagram-intro h2 { font-size: clamp(32px, 8.6vw, 43px); }
  .section-intro { max-width: 440px; font-size: 11px; }
  .audience-grid { grid-template-columns: 1fr; gap: 9px; }
  .audience-card { min-height: 0; padding: 19px 20px 18px; }
  .audience-card h3 { margin-top: 19px; font-size: 19px; }
  .audience-card p { margin-bottom: 17px; }
  .partner-heading { margin-bottom: 22px; }
  .partner-grid { grid-template-columns: repeat(5, minmax(142px, 1fr)); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
  .partner-card { min-height: 104px; padding: 12px; scroll-snap-align: start; }
  .partner-logo { height: 58px; }
  .partner-logo-ourofino { width: 148px; height: 48px; }
  .partner-logo-biogenesis { width: 126px; height: 62px; }
  .partner-logo-avert { width: 132px; height: 60px; }
  .partner-logo-ucbvet { width: 150px; height: 52px; }
  .partner-logo-labovet { width: 100px; height: 62px; }
  .partnership-copy > p:not(.eyebrow) { font-size: 11px; }
  .benefit-list { gap: 12px; }
  .instagram-intro { grid-template-columns: 1fr; gap: 12px; margin-bottom: 21px; }
  .instagram-copy { justify-self: start; }
  .instagram-gallery { gap: 7px; }
  .instagram-card { border-radius: 5px; }
  .instagram-card-caption { right: 7px; bottom: 9px; left: 7px; gap: 3px; }
  .instagram-card-caption strong { font-size: 9px; }
  .instagram-card-caption small { font-size: 7px; letter-spacing: 0; }
  .contact-band { padding-block: 45px; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 22px; }
  .contact-inner h2 { max-width: 430px; font-size: clamp(33px, 8.5vw, 44px); }
  .button-contact { min-height: 47px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 25px 18px; padding-block: 34px 27px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-social { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 5px; padding-block: 10px; font-size: 8px; }
  .whatsapp-float { right: 13px; bottom: 13px; width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
