
:root{
  --navy:#061626;
  --navy-2:#0b2037;
  --ink:#071827;
  --text:#1e2b3c;
  --muted:#65758b;
  --line:#e5edf5;
  --soft:#f7fafc;
  --white:#ffffff;
  --blue:#1f6bff;
  --cyan:#22c7f0;
  --teal:#12b8ad;
  --green:#0ba66a;
  --violet:#7c3cff;
  --orange:#f59e0b;
  --red:#ef4444;
  --radius:28px;
  --radius-lg:38px;
  --shadow:0 30px 90px rgba(7,24,39,.14);
  --shadow-soft:0 18px 50px rgba(7,24,39,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color:var(--ink);
  background:
    radial-gradient(circle at 10% -10%, rgba(34,199,240,.14), transparent 38rem),
    radial-gradient(circle at 85% 4%, rgba(18,184,173,.13), transparent 34rem),
    linear-gradient(180deg,#fff 0,#f8fbff 40%,#fff 100%);
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1240px,calc(100% - 42px));margin:0 auto}
.site-top{
  position:sticky;top:0;z-index:100;background:rgba(255,255,255,.82);
  border-bottom:1px solid rgba(229,237,245,.88);backdrop-filter:blur(18px);
}
.nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand img{height:54px;width:auto;object-fit:contain}
.menu{display:flex;align-items:center;gap:28px;color:#132238;font-weight:800;font-size:14px}
.menu a{opacity:.84}
.menu a:hover{opacity:1;color:#087e8b}
.actions{display:flex;align-items:center;gap:12px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:999px;
  padding:14px 20px;font-weight:900;font-size:14px;letter-spacing:-.01em;transition:.2s ease;border:1px solid transparent;white-space:nowrap
}
.btn-primary{background:linear-gradient(180deg,#1f7cff,#0f63d7);color:white;box-shadow:0 14px 28px rgba(15,99,215,.22), inset 0 1px 0 rgba(255,255,255,.28)}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 22px 44px rgba(18,184,173,.25)}
.btn-outline{background:white;border-color:#cde3ef;color:#087eaa}
.btn-dark{background:#071827;color:white}
.badge{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:9px 13px;background:#eafaff;border:1px solid #baeef9;color:#027d99;font-weight:900;font-size:12px;text-transform:uppercase;letter-spacing:.06em}
.hero{padding:78px 0 50px;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:52px;align-items:center}
h1{font-size:clamp(48px,6.8vw,88px);line-height:.94;letter-spacing:-.075em;margin:22px 0;color:#071827}
.grad{background:linear-gradient(135deg,#176fdc,#0fa6a0);-webkit-background-clip:text;background-clip:text;color:transparent}
.lead{font-size:20px;line-height:1.68;color:#44556b;margin:0 0 30px;max-width:690px}
.hero-sub{display:flex;gap:30px;margin-top:26px;color:#38506a;font-size:14px;font-weight:800;flex-wrap:wrap}
.hero-sub span:before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:#15b8ad;margin-right:8px;box-shadow:0 0 0 6px rgba(18,184,173,.1)}
.product-frame{
  position:relative;border-radius:32px;background:linear-gradient(135deg,rgba(255,255,255,.95),rgba(255,255,255,.62));
  border:1px solid rgba(210,227,240,.95);padding:14px;box-shadow:var(--shadow);transform:perspective(1100px) rotateY(-5deg) rotateX(1deg);
}
.product-frame:before{content:"";position:absolute;inset:-30px;background:radial-gradient(circle at 60% 30%,rgba(34,199,240,.22),transparent 30rem);z-index:-1}
.product-screen{border-radius:24px;overflow:hidden;background:#fff;border:1px solid #dde8f1}
.product-screen img{width:100%;height:auto}

.hero-proof{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:28px;max-width:660px}
.proof-item{border:1px solid #dbeaf4;background:rgba(255,255,255,.78);border-radius:20px;padding:16px 14px;box-shadow:0 12px 34px rgba(7,24,39,.06)}
.proof-item b{display:block;font-size:24px;line-height:1;color:#087e99;letter-spacing:-.04em;margin-bottom:7px}
.proof-item span{display:block;color:#52657a;font-size:12px;font-weight:850;line-height:1.3}
.product-proof-section{padding-top:30px;background:linear-gradient(180deg,rgba(247,250,252,.35),#fff)}
.proof-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.proof-card{background:#fff;border:1px solid var(--line);border-radius:30px;overflow:hidden;box-shadow:var(--shadow-soft);display:flex;flex-direction:column;min-height:100%}
.proof-shot{aspect-ratio:16/10;background:#f2f7fb;border-bottom:1px solid var(--line);overflow:hidden}
.proof-shot img{width:100%;height:100%;object-fit:cover;object-position:top left}
.proof-copy{padding:24px}
.proof-copy span{display:inline-flex;margin-bottom:10px;color:#087e99;text-transform:uppercase;font-size:11px;font-weight:950;letter-spacing:.12em}
.proof-copy h3{font-size:23px;line-height:1.12;letter-spacing:-.04em;margin:0 0 10px;color:#071827}
.proof-copy p{font-size:15px;margin:0;color:#637489;line-height:1.65}
.audience-section{padding-top:42px;padding-bottom:42px}
.audience-band{border-radius:38px;background:linear-gradient(135deg,#f4fbff,#ffffff);border:1px solid var(--line);box-shadow:var(--shadow-soft);padding:42px;display:grid;grid-template-columns:.9fr 1.1fr;gap:34px;align-items:start}
.audience-band h2{font-size:clamp(30px,3.4vw,46px)}
.audience-list{display:grid;gap:14px}
.audience-list div{background:#fff;border:1px solid #e1edf6;border-radius:22px;padding:20px}
.audience-list b{display:block;color:#071827;font-size:18px;letter-spacing:-.025em;margin-bottom:7px}
.audience-list span{display:block;color:#637489;line-height:1.55;font-size:14px}

.trust{padding:22px 0 50px}
.trust p{text-align:center;color:#52657a;font-weight:900;font-size:14px}
.logo-row{display:flex;justify-content:center;gap:44px;flex-wrap:wrap;margin-top:18px;color:#9aa9b8;font-weight:900;font-size:22px;opacity:.78}
.feature-strip{margin-top:22px;background:white;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow-soft);display:grid;grid-template-columns:repeat(6,1fr);overflow:hidden}
.strip-item{display:flex;gap:12px;align-items:center;padding:22px 18px;border-right:1px solid var(--line);font-weight:900;color:#112339}
.strip-item:last-child{border-right:0}
.strip-icon{width:38px;height:38px;border-radius:14px;background:#eef9ff;color:#087eaa;display:grid;place-items:center;font-weight:900;flex:0 0 auto}
.section{padding:88px 0}
.section-head{max-width:840px;margin:0 0 38px}
.eyebrow{color:#087e99;text-transform:uppercase;font-weight:950;letter-spacing:.13em;font-size:12px}
h2{font-size:clamp(34px,4.6vw,60px);line-height:1.03;letter-spacing:-.06em;margin:10px 0 14px;color:#071827}
.section-head p,.section p{color:#637489;line-height:1.72}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow-soft)}
.card h3{font-size:22px;line-height:1.15;letter-spacing:-.035em;margin:0 0 10px;color:#071827}
.card p{margin:0;font-size:15px}
.card-icon{width:50px;height:50px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(31,107,255,.1),rgba(18,184,173,.14));color:#087e99;font-weight:950;margin-bottom:18px}
.dark-section{background:
  radial-gradient(circle at 15% 20%,rgba(34,199,240,.14),transparent 28rem),
  radial-gradient(circle at 80% 20%,rgba(18,184,173,.12),transparent 28rem),
  #071827;color:#fff}
.dark-section h2,.dark-section h3{color:#fff}.dark-section p{color:#b8c7d8}.dark-section .eyebrow{color:#67e8f9}
.showcase{display:grid;grid-template-columns:.82fr 1.18fr;gap:34px;align-items:center}
.showcase.flip{grid-template-columns:1.18fr .82fr}
.screen-card{border-radius:32px;padding:12px;background:rgba(255,255,255,.92);border:1px solid rgba(229,237,245,.9);box-shadow:var(--shadow);overflow:hidden}
.screen-card img{border-radius:22px;border:1px solid #e6edf4}
.dark-section .screen-card{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.12)}
.list{display:grid;gap:13px;margin-top:24px}
.list-item{display:flex;gap:12px;align-items:flex-start;padding:15px;border:1px solid rgba(229,237,245,.85);border-radius:18px;background:rgba(255,255,255,.72)}
.dark-section .list-item{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.1)}
.tick{width:24px;height:24px;border-radius:50%;background:linear-gradient(180deg,#1f7cff,#0f63d7);flex:0 0 auto;box-shadow:0 8px 18px rgba(18,184,173,.2)}
.modules{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.module{position:relative;padding:22px;border-radius:24px;border:1px solid var(--line);background:white;box-shadow:0 14px 40px rgba(7,24,39,.055);min-height:140px;text-decoration:none;color:inherit}
.module b{font-size:18px;letter-spacing:-.03em}.module span{display:block;margin-top:10px;color:#65758b;line-height:1.55;font-size:14px}
.module:after{content:"";position:absolute;right:18px;bottom:18px;width:32px;height:32px;border-radius:12px;background:linear-gradient(180deg,#1f7cff,#0f63d7);opacity:.12}
.cta{padding:92px 0}
.cta-box{border-radius:42px;background:
  radial-gradient(circle at 18% 20%,rgba(34,199,240,.16),transparent 30rem),
  radial-gradient(circle at 85% 25%,rgba(18,184,173,.18),transparent 30rem),
  linear-gradient(180deg,#0b2742,#061826);padding:56px;color:white;display:grid;grid-template-columns:1fr auto;align-items:center;gap:32px;box-shadow:0 34px 90px rgba(7,24,39,.28)}
.cta-box h2{color:#fff;margin:0 0 12px}.cta-box p{color:#c7d7e7;font-size:18px;margin:0}
.footer{border-top:1px solid var(--line);padding:42px 0;background:white;color:#607287}
.footer-grid{display:grid;grid-template-columns:1.2fr repeat(4,1fr);gap:28px}
.footer img{height:52px;width:auto}.footer h4{margin:0 0 12px;color:#071827}.footer a{display:block;margin:8px 0;font-weight:750}
.page-hero{padding:78px 0 42px}
.page-hero h1{max-width:980px}
.contact-grid{display:grid;grid-template-columns:1fr .8fr;gap:28px}
input,textarea,select{width:100%;padding:15px 16px;border:1px solid var(--line);border-radius:16px;font:inherit;background:white;color:#071827}
label{display:block;margin-bottom:15px;font-weight:850;color:#23354a;font-size:14px} label span{display:block;margin-bottom:8px}
textarea{min-height:140px;resize:vertical}
.form-card{background:white;border:1px solid var(--line);border-radius:32px;padding:30px;box-shadow:var(--shadow-soft)}
@media(max-width:980px){
  .hero-proof,.proof-grid{grid-template-columns:repeat(2,1fr)}.audience-band{grid-template-columns:1fr;padding:32px}
  .menu{display:none}.hero-grid,.showcase,.showcase.flip,.contact-grid,.cta-box{grid-template-columns:1fr}.product-frame{transform:none}.feature-strip{grid-template-columns:repeat(2,1fr)}.strip-item{border-bottom:1px solid var(--line)}.grid-3,.grid-2,.modules{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .hero-proof,.proof-grid{grid-template-columns:1fr}.proof-item{padding:14px}.proof-copy{padding:20px}.audience-band{border-radius:28px;padding:24px}.lang-switch{display:none!important}.actions .btn-primary{padding:11px 13px;font-size:12px}
  .container{width:min(100% - 26px,1240px)}.nav{height:72px}.brand img{height:44px}.actions .btn-outline{display:none}h1{font-size:42px}.grid-3,.grid-2,.modules,.feature-strip,.footer-grid{grid-template-columns:1fr}.hero{padding-top:52px}.cta-box{padding:32px}.logo-row{gap:18px;font-size:16px}
}


/* VetDesk Global Mobile Menu */
.mobile-toggle{
  display:none;
  width:46px;
  height:46px;
  border-radius:14px;
  border:1px solid #dbe7f0;
  background:#fff;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(6,24,38,.08);
}
.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after{
  display:block;
  width:22px;
  height:2px;
  border-radius:999px;
  background:#061826;
  content:"";
  position:relative;
  transition:.22s ease;
}
.mobile-toggle span::before{position:absolute;top:-7px}
.mobile-toggle span::after{position:absolute;top:7px}
body.menu-open .mobile-toggle span{background:transparent}
body.menu-open .mobile-toggle span::before{top:0;transform:rotate(45deg)}
body.menu-open .mobile-toggle span::after{top:0;transform:rotate(-45deg)}

.mobile-backdrop{
  display:none;
  position:fixed;
  inset:0;
  z-index:18;
  background:rgba(6,24,38,.42);
  backdrop-filter:blur(4px);
}

@media(max-width:980px){
  .mobile-toggle{display:flex}

  .menu,.navlinks{
    position:fixed;
    top:76px;
    left:14px;
    right:14px;
    z-index:30;
    display:none !important;
    flex-direction:column;
    gap:6px;
    padding:18px;
    border:1px solid #dbe7f0;
    border-radius:24px;
    background:rgba(255,255,255,.96);
    box-shadow:0 26px 80px rgba(6,24,38,.18);
    backdrop-filter:blur(18px);
  }

  body.menu-open .menu,
  body.menu-open .navlinks{
    display:flex !important;
  }

  body.menu-open .mobile-backdrop{
    display:block;
  }

  .menu a,.navlinks a{
    padding:13px 14px;
    border-radius:16px;
  }
}


/* ===== VetDesk Premium Full-Width Header Fix ===== */
.site-top{
  width:100%;
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.88);
  border-bottom:1px solid rgba(229,237,245,.9);
  backdrop-filter:blur(18px);
}

.site-top .container.nav{
  width:100%;
  max-width:none;
  margin:0;
  padding:0 36px;
}

.nav{
  height:78px;
  gap:22px;
}

.brand{
  flex:0 0 auto;
}

.brand img{
  height:50px;
  width:auto;
  object-fit:contain;
}

.menu{
  flex:1 1 auto;
  justify-content:center;
  gap:22px;
  min-width:0;
  font-size:13.5px;
  line-height:1.05;
}

.menu a{
  white-space:nowrap;
  opacity:.86;
}

.actions{
  flex:0 0 auto;
  gap:10px;
}

.actions .btn{
  padding:13px 18px;
  font-size:13.5px;
}

.menu a[href="software-a-confronto.html"]{
  white-space:nowrap;
}


@media(max-width:1360px){
  .social-vetdesk{display:none!important}
  .menu{gap:16px;font-size:12.5px}
  .actions .btn{padding:12px 16px}
  .brand img{height:46px}
}

@media(max-width:1180px){
  .site-top .container.nav{
    padding:0 22px;
  }

  .menu{
    gap:15px;
    font-size:12.5px;
  }

  .brand img{
    height:46px;
  }

  .actions .btn{
    padding:12px 15px;
    font-size:13px;
  }
}

@media(max-width:980px){
  .site-top .container.nav{
    width:min(1240px,calc(100% - 42px));
    margin:0 auto;
    padding:0;
  }

  .nav{
    height:76px;
  }

  .brand img{
    height:48px;
  }
}

@media(max-width:640px){
  .site-top .container.nav{
    width:min(100% - 26px,1240px);
  }

  .nav{
    height:72px;
  }

  .brand img{
    height:44px;
  }
}


/* ===== VetDesk Italian Web 2.0 Refresh ===== */
body{
  background:#eef4f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3E%3Cpath d='M0 7h8v1H0z' fill='%23dfeaf1' fill-opacity='.55'/%3E%3C/svg%3E");
  color:#17283a;
}
.site-top{
  background:linear-gradient(180deg,#ffffff 0%,#f3f8fb 100%);
  border-bottom:1px solid #cfdde8;
  box-shadow:0 2px 10px rgba(25,55,80,.08);
  backdrop-filter:none;
}
.nav{height:74px}
.brand img{height:48px}
.menu{font-weight:800;color:#25384c}
.menu a:hover{color:#0b76b7}
.btn{
  border-radius:10px;
  letter-spacing:0;
  border:1px solid rgba(10,88,150,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 2px 8px rgba(20,70,110,.08);
}
.btn-primary{
  background:linear-gradient(180deg,#36a5f4 0%,#1672c6 52%,#0e5ea8 100%);
  border-color:#0b5f9f;
  color:#fff;
  text-shadow:0 1px 0 rgba(0,0,0,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38),0 8px 18px rgba(19,104,180,.22);
}
.btn-primary:hover{transform:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.42),0 10px 22px rgba(19,104,180,.24)}
.btn-outline{
  background:linear-gradient(180deg,#ffffff,#eef6fb);
  border-color:#b8d4e8;
  color:#0f689d;
}
.hero{padding:58px 0 44px;background:linear-gradient(180deg,#f8fcff 0%,#eef6fb 100%);border-bottom:1px solid #dbe8f0}
.hero-grid{grid-template-columns:.88fr 1.12fr;gap:42px}
h1{font-size:clamp(40px,5.4vw,72px);line-height:1;letter-spacing:-.045em;color:#102235;margin:18px 0 20px}
.grad{background:linear-gradient(180deg,#1d8bd6,#0a6ca9);-webkit-background-clip:text;background-clip:text;color:transparent}
.lead{font-size:18px;line-height:1.62;color:#35495e;max-width:640px}
.badge{
  border-radius:8px;
  background:linear-gradient(180deg,#ffffff,#e6f6fc);
  border:1px solid #b7ddeb;
  color:#0c6f96;
  box-shadow:inset 0 1px 0 #fff;
}
.hero-sub span:before{background:#1f8dd1;box-shadow:none}
.hero-proof{gap:12px}
.proof-item{
  border-radius:12px;
  border-color:#cfdfea;
  background:linear-gradient(180deg,#fff,#f3f8fb);
  box-shadow:0 2px 10px rgba(26,61,91,.08), inset 0 1px 0 #fff;
}
.proof-item b{color:#126da8}
.product-frame{
  border-radius:18px;
  padding:10px;
  background:linear-gradient(180deg,#ffffff,#e9f2f8);
  border:1px solid #cbdce8;
  box-shadow:0 18px 40px rgba(18,55,88,.16);
  transform:none;
}
.product-frame:before{display:none}
.product-screen{border-radius:12px;border:1px solid #c8dbe8}
.trust{background:#fff;padding:26px 0 46px;border-bottom:1px solid #e0eaf1}
.logo-row{font-size:18px;color:#7c8fa2;opacity:1}
.feature-strip{
  border-radius:14px;
  border-color:#cfdfea;
  box-shadow:0 4px 16px rgba(26,61,91,.08);
}
.strip-item{padding:18px 16px;color:#21384e;background:linear-gradient(180deg,#fff,#f7fafc)}
.strip-icon{border-radius:9px;background:linear-gradient(180deg,#e8f6fc,#d8edf8);color:#0b6fa7;border:1px solid #c5deed}
.section{padding:68px 0;background:#fff}
.section:nth-of-type(odd){background:#f5f9fc}
h2{font-size:clamp(30px,3.8vw,52px);line-height:1.08;letter-spacing:-.04em;color:#102235}
.eyebrow{color:#0b6fa7;letter-spacing:.1em}
.card,.proof-card,.module,.audience-band,.screen-card{
  border-radius:14px;
  border-color:#cfdfea;
  box-shadow:0 5px 18px rgba(26,61,91,.08);
  background:linear-gradient(180deg,#ffffff,#f8fbfd);
}
.card-icon{border-radius:10px;background:linear-gradient(180deg,#edf8fd,#dceff8);color:#0b6fa7;border:1px solid #c5deed}
.dark-section{
  background:linear-gradient(180deg,#17314a,#0d2438);
  border-top:1px solid #0b1c2b;
  border-bottom:1px solid #0b1c2b;
}
.dark-section .screen-card{background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.08));border-color:rgba(255,255,255,.22)}
.list-item{border-radius:10px;background:rgba(255,255,255,.88)}
.dark-section .list-item{background:rgba(255,255,255,.08)}
.tick{background:linear-gradient(180deg,#36a5f4,#0e5ea8);box-shadow:none}
.proof-shot{background:#eef5f9}
.proof-copy h3,.card h3{letter-spacing:-.025em}
.audience-band{background:linear-gradient(180deg,#ffffff,#eef6fb)}
.module{border-radius:12px;min-height:132px}
.module:after{border-radius:8px;background:#1b83c6;opacity:.1}
.cta{background:#f5f9fc;padding:70px 0}
.cta-box{
  border-radius:18px;
  background:linear-gradient(180deg,#1f4f78,#113557);
  border:1px solid #0c2944;
  box-shadow:0 14px 34px rgba(18,55,88,.18), inset 0 1px 0 rgba(255,255,255,.16);
}
.footer{background:#f8fbfd;border-top:1px solid #cfdfea}
.cookie-banner{border-radius:14px;background:#102235;border-color:#20384f;box-shadow:0 12px 34px rgba(16,34,53,.22)}
.cookie-actions button{border-radius:9px}
@media(max-width:980px){
  .hero{padding-top:42px}.hero-grid{gap:30px}.section{padding:54px 0}
}
@media(max-width:640px){
  h1{font-size:38px;letter-spacing:-.035em}.lead{font-size:17px}.nav{height:70px}.mobile-toggle{border-radius:10px}.btn{border-radius:9px}.hero{padding-top:34px}.product-frame{margin-top:8px}
}

/* ===== Stable Global Header + Contrast Fix ===== */
html{scrollbar-gutter:stable}
.site-top,
.site-top *{box-sizing:border-box}
.site-top .container.nav{
  width:100%;
  max-width:none;
  margin:0;
  padding:0 36px;
  display:grid;
  grid-template-columns:178px minmax(0,1fr) auto;
  align-items:center;
  column-gap:22px;
}
.site-top .brand{width:178px;display:flex;align-items:center;min-width:0}
.site-top .brand img{width:150px;height:48px;object-fit:contain;object-position:left center}
.site-top .menu{justify-content:center;gap:22px;min-width:0}
.site-top .menu a{white-space:nowrap}
.site-top .actions{justify-content:flex-end;min-width:0}
.site-top .social-vetdesk{display:none!important}
.lang-switch{display:flex!important;align-items:center;gap:8px;margin:0 2px!important;flex:0 0 auto}
.lang-switch a{width:34px!important;height:34px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;border-radius:999px!important}
.section.dark-section{
  background:linear-gradient(180deg,#17314a,#0d2438)!important;
  color:#fff!important;
}
.section.dark-section h2,
.section.dark-section h3{color:#fff!important}
.section.dark-section p,
.section.dark-section .list-item{color:#cfe0ef!important}
.section.dark-section .eyebrow{color:#7fe5f2!important}
.section.dark-section .list-item b{color:#fff!important}
.section.dark-section .screen-card{background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.08))!important;border-color:rgba(255,255,255,.22)!important}
@media(max-width:1360px){
  .site-top .container.nav{grid-template-columns:168px minmax(0,1fr) auto;padding:0 24px;column-gap:16px}
  .site-top .brand{width:168px}.site-top .brand img{width:142px}
  .site-top .menu{gap:15px;font-size:12.5px}
}
@media(max-width:980px){
  .site-top .container.nav{width:min(1240px,calc(100% - 42px));margin:0 auto;padding:0;display:flex;justify-content:space-between;gap:14px}
  .site-top .brand{width:auto}.site-top .brand img{width:145px;height:48px}
  .site-top .actions{gap:10px}
}
@media(max-width:640px){
  html{scrollbar-gutter:auto}
  .site-top .container.nav{width:min(100% - 26px,1240px);gap:10px}
  .site-top .brand img{width:142px;height:44px}
  .site-top .actions .btn-primary{padding:11px 13px;font-size:12px}
  .lang-switch{display:none!important}
}

/* Keep header action column stable even when a page has fewer controls */
@media(min-width:981px){
  .site-top .actions{width:340px;display:flex;align-items:center;justify-content:flex-end}
}
@media(min-width:981px) and (max-width:1360px){
  .site-top .actions{width:300px}
}

/* ===== Header Social Popup ===== */
@media(min-width:981px){
  .site-top .social-vetdesk{
    display:flex!important;
    position:relative;
    width:42px;
    height:42px;
    margin-left:0!important;
    flex:0 0 42px;
    align-items:center;
    justify-content:center;
  }
  .site-top .social-vetdesk:before{
    content:"●●●";
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    border:1px solid #b8d4e8;
    background:linear-gradient(180deg,#ffffff,#eef6fb);
    color:#0f689d;
    font-size:10px;
    letter-spacing:1px;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 2px 8px rgba(20,70,110,.08);
    cursor:pointer;
  }
  .site-top .social-vetdesk a{
    position:absolute;
    top:48px;
    right:0;
    width:42px!important;
    height:42px!important;
    border-radius:10px!important;
    background:linear-gradient(180deg,#1f4f78,#113557)!important;
    border:1px solid #0c2944!important;
    color:#fff!important;
    box-shadow:0 10px 24px rgba(16,34,53,.18)!important;
    opacity:0;
    pointer-events:none;
    transform:translateY(-6px);
    transition:.18s ease;
    z-index:1100;
  }
  .site-top .social-vetdesk a:nth-child(1){top:48px}
  .site-top .social-vetdesk a:nth-child(2){top:94px}
  .site-top .social-vetdesk a:nth-child(3){top:140px}
  .site-top .social-vetdesk:hover a,
  .site-top .social-vetdesk:focus-within a{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
  }
  .site-top .actions{width:350px}
}
@media(min-width:981px) and (max-width:1360px){
  .site-top .actions{width:330px}
}
@media(max-width:980px){
  .site-top .social-vetdesk{display:none!important}
}

/* More room for the social popup on medium desktop widths */
@media(min-width:981px) and (max-width:1360px){
  .site-top .container.nav{grid-template-columns:160px minmax(0,1fr) 330px;column-gap:14px}
  .site-top .brand{width:160px}.site-top .brand img{width:136px}
  .site-top .menu{gap:13px;font-size:12px}
}
@media(min-width:981px) and (max-width:1180px){
  .site-top .lang-switch{display:none!important}
  .site-top .actions{width:260px}
  .site-top .container.nav{grid-template-columns:154px minmax(0,1fr) 260px}
}

/* Clickable social trigger */
@media(min-width:981px){
  .site-top .social-vetdesk:before{display:none!important;content:none!important}
  .site-top .social-trigger{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:3px;
    border-radius:10px;
    border:1px solid #b8d4e8;
    background:linear-gradient(180deg,#ffffff,#eef6fb);
    color:#0f689d;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 2px 8px rgba(20,70,110,.08);
    cursor:pointer;
    padding:0;
  }
  .site-top .social-trigger span{width:5px;height:5px;border-radius:50%;background:#0f689d;display:block}
  .site-top .social-vetdesk a:nth-of-type(1){top:48px}
  .site-top .social-vetdesk a:nth-of-type(2){top:94px}
  .site-top .social-vetdesk a:nth-of-type(3){top:140px}
  .site-top .social-vetdesk.is-open a,
  .site-top .social-vetdesk:hover a,
  .site-top .social-vetdesk:focus-within a{
    opacity:1;
    pointer-events:auto;
    transform:translateY(0);
  }
}

/* Final alignment for legacy EN plans inline header styles */
html body .site-top .container.nav{
  min-height:74px;
  height:74px;
}
html body .site-top .brand img{
  max-height:48px;
}
@media(max-width:640px){
  html body .site-top .container.nav{height:70px;min-height:70px}
  html body .site-top .brand img{max-height:44px}
}

/* ===== WhatsApp Floating Chat ===== */
.whatsapp-widget{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:9998;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.whatsapp-toggle{
  width:58px;
  height:58px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.5);
  background:linear-gradient(180deg,#35d66b,#159947);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:30px;
  cursor:pointer;
  box-shadow:0 14px 34px rgba(21,153,71,.28), inset 0 1px 0 rgba(255,255,255,.35);
}
.whatsapp-toggle:hover{transform:translateY(-1px)}
.whatsapp-popup{
  position:absolute;
  right:0;
  bottom:74px;
  width:min(330px,calc(100vw - 34px));
  padding:18px;
  border-radius:16px;
  background:linear-gradient(180deg,#ffffff,#f3f8fb);
  border:1px solid #cfdfea;
  box-shadow:0 18px 46px rgba(16,34,53,.2);
  color:#17283a;
  opacity:0;
  transform:translateY(10px) scale(.98);
  pointer-events:none;
  transition:.18s ease;
}
.whatsapp-widget.is-open .whatsapp-popup{
  opacity:1;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}
.whatsapp-popup:after{
  content:"";
  position:absolute;
  right:22px;
  bottom:-9px;
  width:18px;
  height:18px;
  background:#f3f8fb;
  border-right:1px solid #cfdfea;
  border-bottom:1px solid #cfdfea;
  transform:rotate(45deg);
}
.whatsapp-popup strong{display:block;font-size:18px;line-height:1.15;margin:0 28px 8px 0;color:#102235}
.whatsapp-popup p{margin:0 0 14px;color:#52657a;line-height:1.45;font-size:14px}
.whatsapp-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  width:100%;
  min-height:42px;
  border-radius:10px;
  background:linear-gradient(180deg,#35d66b,#159947);
  color:#fff!important;
  font-weight:900;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32),0 8px 20px rgba(21,153,71,.2);
}
.whatsapp-close{
  position:absolute;
  top:10px;
  right:10px;
  width:28px;
  height:28px;
  border:0;
  border-radius:8px;
  background:#e7f0f6;
  color:#52657a;
  cursor:pointer;
  font-size:20px;
  line-height:1;
}
@media(max-width:640px){
  .whatsapp-widget{right:16px;bottom:16px}
  .whatsapp-toggle{width:54px;height:54px;font-size:28px}
  .whatsapp-popup{bottom:68px;right:0}
}

/* Keep WhatsApp usable above the cookie banner */
.whatsapp-widget{
  bottom:110px;
  z-index:10050;
}
@media(max-width:640px){
  .whatsapp-widget{bottom:104px}
}


/* ===== VetDesk Mobile Header Polish 2026-06-09 ===== */
.mobile-menu-extras,
.site-top .menu .mobile-menu-extras,
.site-top .navlinks .mobile-menu-extras{display:none!important}
@media(max-width:980px){
  body.menu-open{overflow:hidden}
  .site-top{z-index:10000}
  .site-top .container.nav{height:70px;min-height:70px}
  .site-top .actions{display:none!important}
  .site-top .menu,
  .site-top .navlinks{
    top:78px!important;
    left:12px!important;
    right:12px!important;
    max-height:calc(100vh - 96px);
    overflow:auto;
    padding:14px!important;
    gap:4px!important;
    border-radius:20px!important;
    overscroll-behavior:contain;
  }
  .site-top .menu a,
  .site-top .navlinks a{
    display:flex;
    align-items:center;
    min-height:44px;
    padding:11px 13px!important;
    font-size:15px;
    font-weight:850;
    color:#102235;
    border-radius:12px!important;
  }
  .site-top .menu a:hover,
  .site-top .navlinks a:hover{
    background:#edf7fb;
    color:#0f689d;
  }
  .mobile-menu-extras{
    display:block;
    margin-top:12px;
    padding-top:12px;
    border-top:1px solid #dbe7f0;
  }
  .mobile-menu-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-bottom:12px;
  }
  .mobile-menu-actions .btn{
    width:100%;
    min-height:44px;
    justify-content:center;
    padding:11px 12px!important;
    font-size:13px!important;
    border-radius:12px!important;
  }
  .mobile-lang-switch,
  .site-top .menu .lang-switch,
  .site-top .navlinks .lang-switch{
    display:flex!important;
    flex-wrap:wrap;
    gap:8px!important;
    margin:8px 0 12px!important;
  }
  .mobile-lang-switch a,
  .site-top .menu .lang-switch a,
  .site-top .navlinks .lang-switch a{
    width:38px!important;
    height:38px!important;
    flex:0 0 38px!important;
    font-size:18px!important;
  }
  .mobile-social-vetdesk{
    display:flex;
    gap:10px;
    margin-top:4px;
  }
  .mobile-social-vetdesk a{
    width:42px!important;
    height:42px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:12px!important;
    background:linear-gradient(180deg,#123f65,#08243c)!important;
    border:1px solid #0c2944!important;
    color:#fff!important;
    text-decoration:none!important;
    box-shadow:0 10px 24px rgba(16,34,53,.16)!important;
    opacity:1!important;
    pointer-events:auto!important;
    transform:none!important;
    position:static!important;
  }
}
@media(max-width:640px){
  .site-top .brand img{width:132px!important;height:42px!important}
  .mobile-toggle{width:42px;height:42px;border-radius:12px}
  h1{font-size:clamp(34px,10vw,44px)!important;line-height:1.02!important;letter-spacing:-.03em!important}
  .lead{font-size:16px!important;line-height:1.55!important}
  .hero{padding-top:34px!important;padding-bottom:46px!important}
  .hero-grid{gap:28px!important}
  .product-frame{border-radius:22px!important}
  .section{padding:56px 0!important}
  .section-head h2{font-size:clamp(28px,8vw,38px)!important;line-height:1.08!important}
  .blog-grid{gap:18px!important}
  .blog-card{border-radius:22px!important}
  .blog-card img{height:170px!important}
}
