/* Eximo Global: design refresh.
   Load AFTER styles.css, studio.css and vessel-estimator.css. Overrides styles.css (including the old hero vignette). */

/* ---------------------------------------------------------------- base polish */
::selection{background:#cfe9ff;color:var(--navy)}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.button:focus-visible{outline-offset:4px}

/* ---------------------------------------------------------------- header + logo
   The brand must never shrink: in a crowded header a flex item can collapse to 0 px wide, which hides the logo. */
.site-header{gap:20px;transition:box-shadow .25s ease,background .25s ease}
.site-header.is-scrolled{box-shadow:0 10px 30px #0634751a;background:#ffffffee}
.brand{flex:0 0 auto;min-width:0}
.brand-logo{display:block!important;visibility:visible!important;opacity:1!important;object-fit:contain;background:none}
.site-header .brand-logo{height:72px;width:auto;min-width:150px;max-width:300px}
.site-footer .footer-brand .brand-logo{height:62px;width:auto;min-width:140px;max-width:300px}
.nav{flex:1 1 auto;justify-content:center;min-width:0}
.header-actions{flex:0 0 auto}
.nav a{position:relative;padding:6px 0}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;border-radius:2px;background:var(--blue);transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.nav a:hover::after,.nav a.is-active::after{transform:scaleX(1)}
.nav a.is-active{color:var(--blue)}
@media(max-width:1180px) and (min-width:721px){.nav a[href="#documents"]{display:none}.nav{gap:16px}}
@media(max-width:1050px){.site-header .brand-logo{height:64px;min-width:130px;max-width:240px}}
@media(max-width:720px){
  .nav a::after{display:none}.nav a{padding:4px 0}
  .site-header .brand-logo{height:54px;min-width:110px;max-width:52vw}
  .site-footer .footer-brand .brand-logo{height:54px;min-width:110px;max-width:62vw}
}

/* ---------------------------------------------------------------- hero */
.hero{min-height:680px}
.hero-proof-chips{list-style:none;margin:34px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.hero-proof-chips li{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:30px;background:#fff;border:1px solid var(--line);font-size:11px;font-weight:700;color:var(--navy);box-shadow:0 6px 16px #0634750d}
.hero-proof-chips svg{width:14px;height:14px;fill:none;stroke:var(--blue);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

.hero-art{position:relative;display:grid;place-items:center;min-height:500px}
.hero-art::before{content:"";position:absolute;inset:8% 4% 2% 10%;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#bfe5ff 0,#48b7f4 55%,transparent 72%);opacity:.36;filter:blur(22px);z-index:0;pointer-events:none}
.hero-art::after{content:"";position:absolute;left:50%;top:50%;width:min(92%,480px);aspect-ratio:1/1.08;
  border:1.5px solid #48b7f466;border-radius:40px 40px 130px 40px;transform:translate(calc(-50% + 16px),calc(-50% + 16px));z-index:0;pointer-events:none}
.hero-slider{position:relative;z-index:1;width:min(92%,480px);aspect-ratio:1/1.08;overflow:hidden;isolation:isolate;
  -webkit-mask-image:none;mask-image:none;border-radius:40px 40px 130px 40px;
  background:linear-gradient(145deg,#dcefff,#b9dcf7);
  box-shadow:0 36px 70px -26px #063475aa,0 0 0 6px #ffffffcc,0 0 0 7px #cfe6f8;
  animation:heroFloat 7s ease-in-out infinite}
@keyframes heroFloat{50%{transform:translateY(-8px)}}
.hero-slider::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,#0000 58%,#041f4785 100%)}
.hero-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.12);filter:none;
  transition:opacity .8s ease-in-out,transform 3.2s cubic-bezier(.2,.7,.2,1)}
.hero-slide.is-active{opacity:1;transform:scale(1)}
.hero-slide[data-missing]{display:none}
.hero-count{position:absolute;top:18px;right:18px;z-index:3;padding:6px 11px;border-radius:20px;font:700 10px "DM Sans",sans-serif;letter-spacing:1.4px;
  color:#fff;background:#041f4766;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);border:1px solid #ffffff40}
.hero-count:empty{display:none}
.hero-caption{position:absolute;left:18px;bottom:26px;z-index:3;margin:0;min-height:0;display:inline-flex;align-items:center;gap:10px;
  padding:10px 16px;border-radius:40px;font:700 12px "DM Sans",sans-serif;letter-spacing:2.2px;text-transform:uppercase;color:#fff;
  background:#041f4766;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid #ffffff40;transition:opacity .35s ease}
.hero-caption.is-swapping{opacity:0}
.hero-dot{width:9px;height:9px;border-radius:50%;background:var(--tint,#8fd3fb);box-shadow:0 0 0 4px #ffffff26;transition:background .35s}
.hero-progress{position:absolute;left:0;bottom:0;height:4px;width:100%;z-index:3;transform-origin:left;transform:scaleX(0);background:linear-gradient(90deg,#48b7f4,#fff)}
.hero-progress.run{animation:heroProgress 3s linear forwards}
@keyframes heroProgress{to{transform:scaleX(1)}}
@media(max-width:1050px){.hero-art{min-height:420px}}
@media(max-width:720px){
  .hero-art{min-height:0;padding:10px 0 30px}
  .hero-slider,.hero-art::after{width:min(88%,400px);border-radius:30px 30px 90px 30px}
  .hero-art::after{transform:translate(calc(-50% + 10px),calc(-50% + 5px))}
  .hero-caption{font-size:10.5px;letter-spacing:1.6px;padding:8px 13px;left:14px;bottom:20px}
  .hero-proof-chips{margin-top:24px}
}

/* ---------------------------------------------------------------- products */
.product-card{display:block;color:inherit}
.product-image{overflow:hidden;background:linear-gradient(135deg,#dcefff,#eef8ff);min-height:205px}
.product-image img{transition:transform .7s cubic-bezier(.2,.7,.2,1)}
.product-card:hover .product-image img{transform:scale(1.06)}
.product-image::after{content:"";position:absolute;inset:auto 0 0 0;height:45%;background:linear-gradient(180deg,#0000,#06347526);pointer-events:none}
.product-card:hover .round-arrow{background:var(--blue);color:#fff;border-color:var(--blue)}
.round-arrow{transition:background .2s,color .2s,border-color .2s}
@media(max-width:720px){.product-image{min-height:165px}}

/* ---------------------------------------------------------------- sections */
.section-heading h2 em,.intro h2 em,.contact h2 em{background:linear-gradient(90deg,var(--blue),#2d9be8);-webkit-background-clip:text;background-clip:text;color:transparent}
.why-item{padding:18px;border-radius:12px;transition:background .25s,box-shadow .25s}
.why-item:hover{background:#fff;box-shadow:0 14px 30px #164b7512}
.document-card{transition:transform .25s,box-shadow .25s,border-color .25s}
.document-card:hover{transform:translateY(-3px);box-shadow:0 16px 32px #164b7512;border-color:#cfe6f8}
.enquiry-form{background:#fff;border-top:4px solid var(--blue)}
.contact-note a{color:var(--blue)}

/* ---------------------------------------------------------------- reveal on scroll (JS adds .reveal) */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1),box-shadow .25s,background .25s,border-color .25s}
.reveal.is-visible{opacity:1;transform:none}
.product-card.reveal.is-visible:hover{transform:translateY(-4px)}
.document-card.reveal.is-visible:hover{transform:translateY(-3px)}

/* ---------------------------------------------------------------- back to top (appears only at the end of the page) */
.to-top{position:fixed;right:22px;bottom:22px;z-index:40;width:48px;height:48px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;
  background:var(--blue);color:#fff;box-shadow:0 12px 26px #075ccb40;opacity:0;visibility:hidden;transform:translateY(14px) scale(.9);pointer-events:none;
  transition:opacity .3s,transform .3s,visibility 0s linear .3s,background .2s}
.to-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.to-top.is-visible{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition:opacity .3s,transform .3s,visibility 0s,background .2s}
.to-top:hover{background:var(--navy)}

/* ---------------------------------------------------------------- footer */
.site-footer{border-top:1px solid #e2edf6;background:linear-gradient(180deg,#f2f8fd,#eaf4fc)}
.site-footer>p a{color:var(--blue)}
/* Hero slideshow size fix: fixed sizes so the frame can't shrink to zero */
.hero-art{display:flex!important;align-items:center;justify-content:center;min-height:500px}
.hero-slider{flex:0 0 auto;width:480px!important;max-width:calc(100vw - 48px);aspect-ratio:1/1.08;min-height:300px}
.hero-art::after{width:480px}
@media(max-width:1180px){.hero-slider,.hero-art::after{width:40vw!important}}
@media(max-width:720px){
  .hero-art{min-height:0}
  .hero-slider,.hero-art::after{width:min(88vw,400px)!important}
}