/*
Theme Name: AEVION Meditech
Theme URI: https://aevionmed.in/
Author: AEVION Meditech
Description: Custom WordPress theme converted from the AEVION Meditech standalone HTML website.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: aevion-meditech
*/

/* ============================================================
   AEVION MEDITECH — Design tokens
   Primary: #062B55 (Deep Navy)  Accent: #00B8A9 (Medical Teal)
   Support: #E8F1F8 (Soft Blue) #6B7785 (Cool Gray) #F5F7F9 (Very Light Gray)
   Display: Space Grotesk / Body: Inter / Data: IBM Plex Mono
   Signature: the vital-sign waveform — drawn as a live thread that
   stitches every section together, echoing the pulse in the logo.
   ============================================================ */

:root{
  --navy:#0b2045;
  --navy-deep:#041d3d;
  --teal:#00B8A9;
  --teal-light:#3fd4c6;
  --white:#FFFFFF;
  --soft-blue:#E8F1F8;
  --cool-gray:#6B7785;
  --pale:#F5F7F9;
  --line:#E2E8ED;
  --ink:#0B1C2C;

  --display: 'Space Grotesk', sans-serif;
  --body: 'Inter', sans-serif;
  --mono: 'IBM Plex Mono', monospace;

  --container: 1240px;
  --radius: 14px;
  --shadow-soft: 0 20px 60px -20px rgba(6,43,85,0.25);
  --shadow-card: 0 10px 30px -12px rgba(6,43,85,0.18);
  --ease: cubic-bezier(.22,.9,.32,1);
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important;}
}
body{
  font-family:var(--body);
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
ul{list-style:none;}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 32px;}
:focus-visible{outline:2.5px solid var(--teal);outline-offset:3px;border-radius:4px;}

h1,h2,h3,h4{font-family:var(--display);font-weight:600;letter-spacing:-0.01em;color:var(--navy);}
.eyebrow{
  font-family:var(--mono);
  font-size:12.5px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--teal);
  display:flex;align-items:center;gap:10px;
  margin-bottom:18px;
  font-weight:500;
}
.eyebrow::before{
  content:'';
  width:22px;height:2px;background:var(--teal);
  display:inline-block;
}
.section-head{max-width:640px;margin-bottom:56px;}
.section-head h2{font-size:clamp(28px,3.4vw,42px);line-height:1.15;margin-bottom:16px;}
.section-head p{color:var(--cool-gray);font-size:17px;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head.center .eyebrow{justify-content:center;}
.section-head.center .eyebrow::before{display:none;}

section{position:relative;}
.pad{padding:110px 0;}
@media(max-width:768px){.pad{padding:72px 0;}}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font-family:var(--display);font-weight:600;font-size:15px;
  padding:16px 30px;border-radius:100px;
  transition:all .35s var(--ease);
  white-space:nowrap;
}
.btn-primary{background:var(--teal);color:var(--navy-deep);}
.btn-primary:hover{background:var(--teal-light);transform:translateY(-2px);box-shadow:0 14px 30px -8px rgba(0,184,169,.55);}
.btn-outline{border:1.5px solid rgba(255,255,255,.35);color:var(--white);background:rgba(255,255,255,.04);backdrop-filter:blur(6px);}
.btn-outline:hover{border-color:var(--white);background:rgba(255,255,255,.12);transform:translateY(-2px);}
.btn-dark{border:1.5px solid var(--navy);color:var(--navy);}
.btn-dark:hover{background:var(--navy);color:var(--white);}
.btn-block{width:100%;}

/* ---------- vital waveform (signature element) ---------- */
.pulse-divider{width:100%;height:64px;display:block;}
.pulse-divider path{
  fill:none;stroke:var(--teal);stroke-width:2;
  stroke-dasharray:1400;stroke-dashoffset:1400;
  transition:stroke-dashoffset 1.6s var(--ease);
}
.pulse-divider.in-view path{stroke-dashoffset:0;}

/* ================= HEADER ================= */
header{
  position:fixed;top:0;left:0;right:0;z-index:1000;
  padding:20px 0;
  transition:all .4s var(--ease);
}
header.scrolled{
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(14px);
  box-shadow:0 4px 24px rgba(6,43,85,.08);
  padding:12px 0;
}
.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--display);}
.logo-mark{height:42px;width:auto;display:block;transition:height .3s var(--ease);}
header.scrolled .logo-mark{height:36px;}
.logo-text{line-height:1;}
.logo-text .name{font-size:19px;font-weight:700;letter-spacing:0.03em;color:var(--white);transition:color .3s;}
.logo-text .tag{font-size:9px;letter-spacing:0.22em;color:var(--cool-gray);text-transform:uppercase;font-family:var(--mono);}
header.scrolled .logo-text .name{color:var(--navy);}

.nav-links{display:flex;align-items:center;gap:24px;white-space:nowrap;}
.nav-links a{
  font-size:14.5px;font-weight:500;color:rgba(255,255,255,.88);
  position:relative;padding:6px 0;transition:color .3s;
}
header.scrolled .nav-links a{color:var(--ink);}
.nav-links a::after{
  content:'';position:absolute;left:0;bottom:0;width:0;height:2px;background:var(--teal);
  transition:width .3s var(--ease);
}
.nav-links a:hover::after{width:100%;}
.nav-links a:hover{color:var(--teal-light);}
header.scrolled .nav-links a:hover{color:var(--teal);}

.header-right{display:flex;align-items:center;gap:18px;flex-shrink:0;}
.header-phone{display:flex;align-items:center;gap:8px;font-family:var(--mono);font-size:14px;color:var(--white);}
header.scrolled .header-phone{color:var(--navy);}
.header-phone svg{width:16px;height:16px;stroke:var(--teal-light);}
header.scrolled .header-phone svg{stroke:var(--teal);}
.mobile-toggle{display:none;background:none;border:none;flex-direction:column;gap:5px;width:26px;}
.mobile-toggle span{height:2px;background:var(--white);border-radius:2px;transition:.3s;}
header.scrolled .mobile-toggle span{background:var(--navy);}

@media(max-width:1180px) and (min-width:1081px){.nav-links{gap:17px}.nav-links a{font-size:13.5px}.header-right > .btn-primary{padding-left:18px !important;padding-right:18px !important;font-size:13px !important;}}
@media(max-width:1080px){
  .nav-links{display:none;}
  .header-phone{display:none;}
  .mobile-toggle{display:flex;}
}
@media(max-width:560px){
  .logo-text .tag{
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    max-width:170px;display:block;font-size:8px;letter-spacing:0.14em;
  }
  .logo-text .name{font-size:16px;}
  .header-right{gap:12px;}
  .header-right > .btn-primary{display:none;}
}
@media(max-width:360px){
  .logo-text .tag{max-width:120px;}
}
.mobile-menu{
  position:fixed;inset:0 0 0 auto;width:min(320px,84vw);background:var(--navy);
  transform:translateX(100%);transition:transform .45s var(--ease);z-index:1200;
  padding:32px 28px;display:flex;flex-direction:column;gap:26px;
}
.mobile-menu.open{transform:translateX(0);}
.mobile-menu a{color:var(--white);font-size:18px;font-family:var(--display);font-weight:500;}
.mobile-close{align-self:flex-end;background:none;border:none;color:var(--white);font-size:26px;}
.scrim{position:fixed;inset:0;background:rgba(4,20,40,.55);z-index:1100;opacity:0;pointer-events:none;transition:opacity .4s;}
.scrim.open{opacity:1;pointer-events:auto;}

/* ================= HERO ================= */
.hero{
  min-height:100vh;
  display:flex;align-items:center;
  position:relative;
  background:
    radial-gradient(ellipse 90% 60% at 75% 20%, rgba(0,184,169,0.16), transparent 60%),
    radial-gradient(ellipse 70% 50% at 15% 85%, rgba(0,184,169,0.10), transparent 60%),
    linear-gradient(180deg,#041833 0%, #0b2045 55%, #08315e 100%);
  overflow:hidden;
  padding-top:120px;
  padding-bottom:80px;
}
.hero::before{ /* subtle grid texture, medical/schematic feel */
  content:'';position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size:56px 56px;
  mask-image:radial-gradient(ellipse 80% 70% at 60% 40%, black, transparent 75%);
  pointer-events:none;
}
.hero-particles{position:absolute;inset:0;pointer-events:none;}
.particle{
  position:absolute;border-radius:50%;background:var(--teal-light);
  opacity:.35;filter:blur(1px);
  animation:drift 14s ease-in-out infinite;
}
@keyframes drift{
  0%,100%{transform:translateY(0) translateX(0);opacity:.15;}
  50%{transform:translateY(-40px) translateX(18px);opacity:.5;}
}
.hero-grid{
  position:relative;z-index:2;
  display:grid;grid-template-columns:1.05fr 0.95fr;gap:60px;align-items:center;
}
@media(max-width:980px){.hero-grid{grid-template-columns:1fr;gap:56px;}}

.hero-copy .eyebrow{color:var(--teal-light);}
.hero-copy .eyebrow::before{background:var(--teal-light);}
.hero-copy h1{
  font-size:clamp(36px,5vw,60px);
  color:var(--white);
  line-height:1.08;
  margin-bottom:24px;
}
.hero-copy h1 em{
  font-style:normal;color:var(--teal-light);
  background:linear-gradient(90deg,var(--teal-light),var(--teal));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-copy p{
  color:rgba(232,241,248,.82);
  font-size:17.5px;max-width:520px;margin-bottom:36px;
}
.hero-btns{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:52px;}

.hero-quickstats{display:flex;gap:38px;flex-wrap:wrap;}
.hero-quickstats div{border-left:2px solid rgba(255,255,255,.18);padding-left:14px;}
.hero-quickstats .num{font-family:var(--mono);font-size:24px;color:var(--white);font-weight:600;}
.hero-quickstats .lbl{font-size:12.5px;color:rgba(232,241,248,.65);}

/* hero equipment showcase */
.hero-visual{position:relative;height:560px;}
@media(max-width:980px){.hero-visual{height:440px;}}
.equip-card{
  position:absolute;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;backdrop-filter:blur(10px);
  padding:16px;box-shadow:0 30px 60px -20px rgba(0,0,0,.5);
  animation:float 6s ease-in-out infinite;
}
.equip-card .icon-wrap{
  width:38px;height:38px;border-radius:10px;background:rgba(0,184,169,.18);
  display:flex;align-items:center;justify-content:center;margin-bottom:10px;
}
.equip-card svg{width:20px;height:20px;stroke:var(--teal-light);}
.equip-card .name{color:var(--white);font-size:13px;font-weight:600;font-family:var(--display);}
.equip-card .waveline{margin-top:10px;width:100%;height:22px;}
.equip-card .waveline path{stroke:var(--teal-light);stroke-width:1.6;fill:none;opacity:.8;}

.ec-1{top:2%;left:6%;width:190px;animation-delay:0s;}
.ec-2{top:20%;right:0;width:210px;animation-delay:1.2s;}
.ec-3{bottom:30%;left:0;width:180px;animation-delay:2.1s;}
.ec-4{bottom:2%;right:8%;width:200px;animation-delay:.6s;}
.ec-5{top:48%;left:32%;width:170px;animation-delay:1.8s;}
@keyframes float{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-14px);}
}
.hero-glow-ring{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle, rgba(0,184,169,.22), transparent 70%);
  filter:blur(10px);
}
@media(max-width:980px){
  .equip-card{transform:scale(.86);}
  .ec-5{display:none;}
}
@media(max-width:560px){
  .hero-visual{height:380px;}
  .equip-card{width:150px !important;padding:12px;}
}

.scroll-cue{
  position:absolute;bottom:26px;left:50%;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:8px;z-index:3;
  color:rgba(232,241,248,.6);font-family:var(--mono);font-size:11px;letter-spacing:.14em;
}
.scroll-cue .line{width:1px;height:34px;background:linear-gradient(var(--teal-light),transparent);animation:scrolldown 1.8s ease-in-out infinite;}
@keyframes scrolldown{0%{opacity:0;transform:scaleY(0.3);transform-origin:top;}50%{opacity:1;}100%{opacity:0;transform:scaleY(1);transform-origin:top;}}

/* ================= TRUST STATS ================= */
.stats-bar{background:var(--navy-deep);padding:0;}
.stats-grid{
  display:grid;grid-template-columns:repeat(4,1fr);
  transform:translateY(-46px);
  border-radius:20px;overflow:hidden;box-shadow:var(--shadow-soft);
}
.stat-card{
  background:var(--white);padding:38px 28px;text-align:center;
  border-right:1px solid var(--line);
}
.stat-card:last-child{border-right:none;}
.stat-card .num{font-family:var(--mono);font-size:clamp(28px,3vw,38px);font-weight:600;color:var(--navy);}
.stat-card .num span{color:var(--teal);}
.stat-card .lbl{color:var(--cool-gray);font-size:13.5px;margin-top:6px;letter-spacing:.02em;}
@media(max-width:900px){.stats-grid{grid-template-columns:repeat(2,1fr);}.stat-card{border-bottom:1px solid var(--line);}}
@media(max-width:560px){.stats-grid{transform:translateY(-30px);border-radius:14px;}.stat-card{padding:24px 14px;}}

/* ================= TRUSTED HOSPITALS ================= */
.trusted{padding:20px 0 100px;text-align:center;}
.trusted .eyebrow{justify-content:center;}
.trusted .eyebrow::before{display:none;}
.logo-track-wrap{overflow:hidden;margin-top:36px;mask-image:linear-gradient(90deg,transparent,black 8%,black 92%,transparent);}
.logo-track{display:flex;gap:70px;width:max-content;animation:scroll-x 28s linear infinite;align-items:center;}
.logo-track span{
  font-family:var(--display);font-weight:600;font-size:20px;color:var(--cool-gray);
  opacity:.55;letter-spacing:.02em;white-space:nowrap;
}
@keyframes scroll-x{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* ================= REVEAL ================= */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .8s var(--ease),transform .8s var(--ease);}
.reveal.in-view{opacity:1;transform:translateY(0);}
.stagger .reveal:nth-child(1){transition-delay:.05s;}
.stagger .reveal:nth-child(2){transition-delay:.15s;}
.stagger .reveal:nth-child(3){transition-delay:.25s;}
.stagger .reveal:nth-child(4){transition-delay:.35s;}
.stagger .reveal:nth-child(5){transition-delay:.45s;}
.stagger .reveal:nth-child(6){transition-delay:.55s;}
.stagger .reveal:nth-child(7){transition-delay:.65s;}

/* ================= PRODUCT CATEGORIES ================= */
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px;}
@media(max-width:980px){.cat-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.cat-grid{grid-template-columns:1fr;}}
.cat-card{
  background:var(--pale);border:1px solid var(--line);border-radius:var(--radius);
  padding:30px 24px;transition:all .4s var(--ease);position:relative;overflow:hidden;
}
.cat-card:hover{
  background:var(--navy);transform:translateY(-6px);box-shadow:var(--shadow-card);
}
.cat-card .cat-icon{
  width:52px;height:52px;border-radius:12px;background:rgba(0,184,169,.12);
  display:flex;align-items:center;justify-content:center;margin-bottom:22px;transition:.4s;
}
.cat-card:hover .cat-icon{background:rgba(0,184,169,.22);}
.cat-card svg{width:26px;height:26px;stroke:var(--teal);}
.cat-card h4{font-size:17px;margin-bottom:8px;transition:color .4s;}
.cat-card:hover h4{color:var(--white);}
.cat-card p{font-size:13.5px;color:var(--cool-gray);transition:color .4s;}
.cat-card:hover p{color:rgba(232,241,248,.75);}
.cat-card .arrow{
  margin-top:18px;display:inline-flex;align-items:center;gap:6px;
  font-size:13px;font-weight:600;color:var(--teal);font-family:var(--display);
}
.cat-card .arrow svg{width:14px;height:14px;stroke:var(--teal);transition:transform .3s;}
.cat-card:hover .arrow svg{transform:translateX(4px);}

/* ================= FEATURED PRODUCTS ================= */
.product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
@media(max-width:980px){.product-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:640px){.product-grid{grid-template-columns:1fr;}}
.product-card{
  border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
  transition:all .4s var(--ease);background:var(--white);
}
.product-card:hover{box-shadow:var(--shadow-card);transform:translateY(-5px);border-color:transparent;}
.product-media{
  height:210px;background:linear-gradient(135deg,var(--soft-blue),#dceaf3);
  display:flex;align-items:center;justify-content:center;position:relative;
}
.product-media svg{width:78px;height:78px;stroke:var(--navy);opacity:.85;}
.product-media .product-image{width:100%;height:100%;display:block;object-fit:cover;object-position:center;filter:saturate(.96);transition:transform .55s var(--ease);}
.product-card:hover .product-media .product-image{transform:scale(1.035);}
.product-media .tag{
  position:absolute;top:14px;left:14px;background:var(--navy);color:var(--white);
  font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;padding:5px 11px;border-radius:100px;
}
.product-body{padding:24px;}
.product-body h4{font-size:18px;margin-bottom:8px;}
.product-body p{font-size:13.5px;color:var(--cool-gray);margin-bottom:16px;}
.spec-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;}
.spec-list span{
  font-family:var(--mono);font-size:11px;background:var(--pale);border:1px solid var(--line);
  padding:5px 10px;border-radius:6px;color:var(--cool-gray);
  transition:all .25s var(--ease);cursor:default;
}
.spec-list span:hover{background:var(--teal);border-color:var(--teal);color:var(--white);transform:translateY(-2px);}
.product-actions{display:flex;gap:10px;}
.product-actions a{
  flex:1;text-align:center;font-size:12.5px;font-weight:600;font-family:var(--display);
  padding:11px 10px;border-radius:8px;transition:.3s;
}
.pa-primary{background:var(--navy);color:var(--white);}
.pa-primary:hover{background:var(--teal);color:var(--navy-deep);}
.pa-ghost{border:1px solid var(--line);color:var(--navy);}
.pa-ghost:hover{border-color:var(--navy);}

/* ================= WHY CHOOSE ================= */
.why-section{background:var(--navy);color:var(--white);position:relative;overflow:hidden;}
.why-section::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse 60% 50% at 85% 10%, rgba(0,184,169,.14), transparent 60%);
}
.why-section .section-head h2, .why-section .section-head p{color:var(--white);}
.why-section .section-head p{color:rgba(232,241,248,.72);}
.why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;position:relative;z-index:1;}
@media(max-width:900px){.why-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.why-grid{grid-template-columns:1fr;}}
.why-card{
  background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius);padding:28px;transition:.4s;
}
.why-card:hover{background:rgba(255,255,255,.08);border-color:rgba(0,184,169,.4);transform:translateY(-4px);}
.why-card .check{
  width:38px;height:38px;border-radius:50%;background:rgba(0,184,169,.18);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;
  transition:all .3s var(--ease);
}
.why-card:hover .check{background:var(--teal);box-shadow:0 0 0 6px rgba(0,184,169,.18);transform:scale(1.08);}
.why-card:hover .check svg{stroke:var(--navy-deep);}
.why-card svg{width:18px;height:18px;stroke:var(--teal-light);}
.why-card h4{color:var(--white);font-size:16px;margin-bottom:6px;}
.why-card p{color:rgba(232,241,248,.65);font-size:13.5px;}

/* ================= SERVICES ================= */
.services-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
@media(max-width:980px){.services-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:560px){.services-grid{grid-template-columns:1fr;}}
.service-card{
  padding:30px 22px;border-radius:var(--radius);border:1px solid var(--line);
  transition:.4s var(--ease);
}
.service-card:hover{border-color:var(--teal);box-shadow:0 16px 34px -18px rgba(0,184,169,.4);transform:translateY(-4px);}
.service-card .num{font-family:var(--mono);font-size:12px;color:var(--teal);margin-bottom:16px;}
.service-card h4{font-size:16.5px;margin-bottom:8px;}
.service-card p{font-size:13px;color:var(--cool-gray);}

/* ================= PROCESS TIMELINE ================= */
.process-wrap{position:relative;}
.process-track{
  display:flex;overflow-x:auto;gap:0;scroll-snap-type:x proximity;
  padding-bottom:14px;
}
.process-track::-webkit-scrollbar{height:6px;}
.process-track::-webkit-scrollbar-thumb{background:var(--line);border-radius:10px;}
.process-step{
  flex:0 0 220px;scroll-snap-align:start;padding:0 22px 0 0;position:relative;
}
.process-step .dot-line{display:flex;align-items:center;margin-bottom:20px;}
.process-step .dot{
  width:14px;height:14px;border-radius:50%;background:var(--teal);flex-shrink:0;
  box-shadow:0 0 0 5px rgba(0,184,169,.15);transition:all .3s var(--ease);
}
.process-step:hover .dot{transform:scale(1.35);box-shadow:0 0 0 8px rgba(0,184,169,.28);}
.process-step .bar{height:2px;background:var(--line);flex:1;}
.process-step:last-child .bar{display:none;}
.process-step .step-num{font-family:var(--mono);color:var(--teal);font-size:12px;margin-bottom:6px;}
.process-step h4{font-size:15.5px;margin-bottom:6px;transition:color .3s;}
.process-step:hover h4{color:var(--teal);}
.process-step p{font-size:12.5px;color:var(--cool-gray);}

/* ================= GALLERY ================= */
.gallery-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:34px;}
.gfilter{
  appearance:none;-webkit-appearance:none;background:var(--white);font-family:var(--body);cursor:pointer;
  padding:9px 18px;border-radius:100px;border:1px solid var(--line);
  font-size:13px;font-weight:500;color:var(--cool-gray);transition:.3s;
}
.gfilter.active,.gfilter:hover{background:var(--navy);color:var(--white);border-color:var(--navy);}
.masonry{
  columns:4 220px;column-gap:16px;
}
@media(max-width:768px){.masonry{columns:2 160px;}}
.masonry-item{
  break-inside:avoid;margin-bottom:16px;border-radius:12px;overflow:hidden;
  position:relative;cursor:pointer;background:var(--soft-blue);
}
.masonry-item .ph{
  width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;
  color:var(--navy);opacity:.55;font-family:var(--mono);font-size:11px;text-align:center;padding:14px;
}
.masonry-item .ph svg{width:30px;height:30px;stroke:var(--navy);}
.masonry-item .ph img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;}
.h1{height:190px;}.h2{height:260px;}.h3{height:150px;}.h4{height:220px;}
.masonry-item .cap{
  position:absolute;left:0;right:0;bottom:0;padding:14px;
  background:linear-gradient(0deg, rgba(6,43,85,.85), transparent);
  color:var(--white);font-size:12.5px;font-weight:500;opacity:0;transition:.3s;
}
.masonry-item:hover .cap{opacity:1;}

/* ================= TESTIMONIALS ================= */
.testi-wrap{position:relative;max-width:760px;margin:0 auto;}
.testi-card{
  background:var(--pale);border:1px solid var(--line);border-radius:20px;
  padding:44px;text-align:center;
}
.testi-quote{font-family:var(--display);font-size:20px;color:var(--navy);line-height:1.5;margin-bottom:24px;}
.testi-person{display:flex;flex-direction:column;align-items:center;gap:4px;}
.testi-avatar{width:52px;height:52px;border-radius:50%;background:var(--navy);color:var(--white);
  display:flex;align-items:center;justify-content:center;font-family:var(--display);font-weight:600;margin-bottom:10px;}
.testi-name{font-weight:600;font-size:14.5px;color:var(--navy);}
.testi-role{font-size:12.5px;color:var(--cool-gray);}
.testi-dots{display:flex;justify-content:center;gap:8px;margin-top:26px;}
.testi-dots button{width:8px;height:8px;border-radius:50%;background:var(--line);transition:.3s;}
.testi-dots button.active{background:var(--teal);width:22px;border-radius:5px;}

/* ================= CERTIFICATIONS ================= */
.cert-strip{
  display:flex;justify-content:center;gap:60px;flex-wrap:wrap;padding:50px 0;
  background:var(--pale);border-top:1px solid var(--line);border-bottom:1px solid var(--line);
}
.cert-item{display:flex;flex-direction:column;align-items:center;gap:10px;opacity:.85;}
.cert-item svg{width:40px;height:40px;stroke:var(--navy);}
.cert-item span{font-family:var(--mono);font-size:11.5px;color:var(--cool-gray);letter-spacing:.04em;}

/* ================= BLOG ================= */
.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
@media(max-width:900px){.blog-grid{grid-template-columns:1fr;}}
.blog-card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:.4s;}
.blog-card:hover{box-shadow:var(--shadow-card);transform:translateY(-4px);}
.blog-media{height:170px;background:linear-gradient(135deg,var(--navy),#0b3f72);display:flex;align-items:center;justify-content:center;}
.blog-media svg{width:44px;height:44px;stroke:var(--teal-light);}
.blog-body{padding:22px;}
.blog-cat{font-family:var(--mono);font-size:11px;color:var(--teal);text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px;}
.blog-body h4{font-size:16.5px;margin-bottom:10px;line-height:1.35;}
.blog-body p{font-size:13px;color:var(--cool-gray);margin-bottom:14px;}
.blog-read{font-size:13px;font-weight:600;color:var(--navy);display:inline-flex;align-items:center;gap:6px;}
.blog-read svg{width:13px;height:13px;stroke:var(--navy);}

/* ================= FINAL CTA ================= */
.final-cta{
  background:linear-gradient(135deg,#041833,var(--navy) 60%,#0a3a6b);
  padding:100px 0;text-align:center;position:relative;overflow:hidden;
}
.final-cta::before{
  content:'';position:absolute;inset:0;
  background:radial-gradient(ellipse 60% 60% at 50% 0%, rgba(0,184,169,.18), transparent 65%);
}
.final-cta h2{color:var(--white);font-size:clamp(28px,4vw,44px);max-width:680px;margin:0 auto 18px;position:relative;}
.final-cta p{color:rgba(232,241,248,.75);max-width:520px;margin:0 auto 40px;position:relative;}
.final-cta .hero-btns{justify-content:center;position:relative;}

/* ================= CONTACT ================= */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:start;}
@media(max-width:900px){.contact-grid{grid-template-columns:1fr;gap:40px;}}
.contact-info-item{display:flex;gap:16px;margin-bottom:26px;}
.contact-info-item .ic{
  width:44px;height:44px;border-radius:10px;background:var(--soft-blue);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.contact-info-item svg{width:20px;height:20px;stroke:var(--navy);}
.contact-info-item h5{font-size:14.5px;margin-bottom:4px;color:var(--navy);font-family:var(--display);}
.contact-info-item p{font-size:13.5px;color:var(--cool-gray);}
.map-embed{
  margin-top:30px;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);
}
.map-embed iframe{width:100%;height:200px;display:block;border:0;}
.map-link{
  display:flex;align-items:center;gap:8px;justify-content:center;
  padding:12px;background:var(--pale);border-top:1px solid var(--line);
  font-family:var(--mono);font-size:12px;color:var(--navy);font-weight:600;transition:.3s;
}
.map-link:hover{background:var(--teal);color:var(--white);}
.map-link svg{width:16px;height:16px;stroke:currentColor;}

.form-card{background:var(--pale);border:1px solid var(--line);border-radius:var(--radius);padding:34px;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px;}
@media(max-width:520px){.form-row{grid-template-columns:1fr;}}
.field{display:flex;flex-direction:column;gap:6px;}
.field label{font-size:12.5px;font-weight:600;color:var(--navy);}
.field input,.field select,.field textarea{
  padding:13px 14px;border:1px solid var(--line);border-radius:8px;font-family:var(--body);font-size:14px;
  background:var(--white);transition:.25s;
}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--teal);}
.field.full{grid-column:1/-1;}
.form-card .btn{margin-top:6px;}
.aevion-hp{position:absolute !important;left:-10000px !important;top:auto !important;width:1px !important;height:1px !important;overflow:hidden !important;opacity:0 !important;pointer-events:none !important;}
.field-help{font-size:11.5px;line-height:1.45;color:var(--cool-gray);margin-top:2px;}

/* ================= FOOTER ================= */
footer{background:var(--navy-deep);color:rgba(232,241,248,.72);padding:80px 0 0;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:40px;padding-bottom:60px;border-bottom:1px solid rgba(255,255,255,.08);}
@media(max-width:900px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:560px){.footer-grid{grid-template-columns:1fr;}}
.footer-grid h5{color:var(--white);font-size:14.5px;margin-bottom:20px;font-family:var(--display);}
.footer-grid li{margin-bottom:11px;font-size:13.5px;}
.footer-grid a:hover{color:var(--teal-light);}
.footer-about p{font-size:13.5px;margin:16px 0 20px;max-width:280px;}
.footer-social{display:flex;gap:10px;}
.footer-social a{
  width:36px;height:36px;border-radius:50%;border:1px solid rgba(255,255,255,.15);
  display:flex;align-items:center;justify-content:center;transition:.3s;
}
.footer-social a:hover{background:var(--teal);border-color:var(--teal);}
.footer-social svg{width:15px;height:15px;stroke:var(--white);}
.newsletter{display:flex;gap:8px;margin-top:4px;}
.newsletter input{flex:1;padding:11px 12px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background:rgba(255,255,255,.05);color:var(--white);font-size:13px;}
.newsletter button{padding:11px 16px;border-radius:8px;background:var(--teal);color:var(--navy-deep);font-weight:600;font-size:13px;}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding:24px 0;font-size:12.5px;flex-wrap:wrap;gap:12px;}
.footer-bottom .links{display:flex;gap:20px;}
.designer-credit{
  display:flex;align-items:center;justify-content:center;
  padding:16px 0 28px;border-top:1px solid rgba(255,255,255,.08);
  font-size:11.5px;letter-spacing:.03em;
}
@media(max-width:768px){
  .designer-credit{padding-bottom:150px;}
}
.designer-credit-link{
  display:flex;align-items:center;gap:8px;color:rgba(232,241,248,.5);
  transition:color .3s;
}
.designer-credit-link:hover{color:var(--teal-light);}
.designer-credit-link img{height:20px;width:20px;object-fit:contain;opacity:.9;transition:opacity .3s;}
.designer-credit-link:hover img{opacity:1;}

/* ================= FLOATING ACTIONS ================= */
.floaters{position:fixed;right:22px;bottom:22px;z-index:900;display:flex;flex-direction:column;gap:12px;align-items:flex-end;}
.fab{
  width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  box-shadow:0 12px 26px -8px rgba(6,43,85,.4);transition:.3s;
}
.fab svg{width:24px;height:24px;}
.fab-wa{background:#25D366;}
.fab-wa svg{stroke:none;fill:var(--white);}
.fab-call{background:var(--navy);}
.fab-call svg{stroke:var(--white);}
.fab:hover{transform:translateY(-3px) scale(1.05);}
.fab-top{
  width:44px;height:44px;border-radius:50%;background:var(--white);border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;opacity:0;pointer-events:none;transition:.3s;
}
.fab-top.show{opacity:1;pointer-events:auto;}
.fab-top svg{width:18px;height:18px;stroke:var(--navy);}

/* lightbox */
.lightbox{position:fixed;inset:0;background:rgba(4,14,28,.92);z-index:2000;display:none;align-items:center;justify-content:center;padding:30px;}
.lightbox.open{display:flex;}
.lightbox-inner{max-width:600px;width:100%;background:var(--navy);border-radius:16px;padding:40px;text-align:center;color:var(--white);}
.lightbox-close{position:absolute;top:26px;right:30px;color:var(--white);font-size:28px;}

/* Product image reference note */
.image-note{
  margin-top:10px;
  font-size:12px;
  line-height:1.5;
  color:var(--cool-gray);
  font-style:italic;
}

/* Brochure, image-reference note and legal pages */
.image-note { font-size: 12px; line-height: 1.65; margin-top: 12px; opacity: .78; }
.footer-legal { display:inline-flex; align-items:center; gap:9px; margin-left:18px; }
.footer-legal a { color:inherit; text-decoration:none; }
.footer-legal a:hover { text-decoration:underline; }
.legal-page-wrap { min-height:70vh; padding:150px 0 90px; background:var(--bg,#f7f9fb); }
.legal-page { max-width:900px; margin:0 auto; background:#fff; border:1px solid rgba(11,32,69,.10); border-radius:22px; padding:clamp(28px,5vw,58px); box-shadow:0 20px 60px rgba(11,32,69,.07); }
.legal-page h1 { margin:8px 0 10px; font-size:clamp(36px,5vw,58px); }
.legal-page h2 { margin:34px 0 10px; font-size:22px; color:var(--navy,#0b2045); }
.legal-page p { line-height:1.8; color:#4b5870; }
.legal-page a { color:var(--teal,#0b8f88); }
.legal-updated { font-size:13px; margin-bottom:28px; opacity:.75; }
.legal-note { margin-top:42px; padding:16px 18px; border-left:3px solid var(--teal,#0b8f88); background:#f2fbfa; font-size:13px; }
@media (max-width:700px) { .footer-legal{margin-left:0;margin-top:8px;} .footer-bottom{flex-direction:column;align-items:flex-start;gap:4px;} .legal-page-wrap{padding-top:120px;} }
.brochure-actions { margin-top: 18px; }
.brochure-actions .btn { min-height: 44px; }


/* ================= PRODUCTION POLISH ================= */
/* Product images are constrained so they can never consume product copy. */
.product-card { display:flex; flex-direction:column; min-width:0; }
.product-media { flex:0 0 220px; height:220px; min-height:220px; max-height:220px; overflow:hidden; }
.product-media > img.product-image,
.product-media .product-image { width:100% !important; height:100% !important; min-width:0; min-height:0; max-width:none; max-height:none; object-fit:cover; object-position:center; }
.product-body { flex:1; display:flex; flex-direction:column; min-width:0; }
.product-body p { flex:0 0 auto; }
.product-actions { margin-top:auto; }
.image-note { max-width:980px; margin:0 0 20px; font-size:12px; line-height:1.65; color:#4e5b6b; font-style:italic; }

/* Accessible keyboard focus and stronger small-text contrast. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .gfilter:focus-visible { outline:3px solid var(--teal); outline-offset:3px; }
.footer-grid, .footer-grid a { color:rgba(232,241,248,.86); }
.contact-info-item p, .service-card p, .product-body p, .blog-body p, .cat-card p { color:#536173; }

/* Cookie/analytics notice */
.aevion-cookie-banner { position:fixed; left:20px; right:20px; bottom:20px; z-index:2500; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:16px 18px; background:#fff; border:1px solid var(--line); border-radius:14px; box-shadow:0 18px 50px rgba(4,29,61,.20); color:var(--ink); }
.aevion-cookie-banner p { margin:0; font-size:13px; line-height:1.55; max-width:900px; }
.aevion-cookie-actions { display:flex; gap:8px; flex-shrink:0; }
.aevion-cookie-actions button { border:0; border-radius:8px; padding:10px 16px; font:600 13px var(--display); cursor:pointer; }
.aevion-cookie-accept { background:var(--teal); color:var(--navy-deep); }
.aevion-cookie-decline { background:var(--pale); color:var(--navy); border:1px solid var(--line) !important; }
@media(max-width:700px){.aevion-cookie-banner{left:12px;right:12px;bottom:12px;flex-direction:column;align-items:stretch}.aevion-cookie-actions{justify-content:flex-end}.product-media{flex-basis:200px;height:200px;min-height:200px;max-height:200px;}}

/* Generic inner pages / 404 */
.inner-header { position:fixed; top:0; left:0; right:0; z-index:1000; background:rgba(255,255,255,.96); backdrop-filter:blur(14px); box-shadow:0 4px 24px rgba(6,43,85,.08); padding:12px 0; }
.inner-header .nav-wrap { min-height:52px; }
.inner-header .logo-text .name { color:var(--navy); }
.inner-header .nav-links a { color:var(--ink); }
.inner-header .header-phone { color:var(--navy); }
.inner-header .mobile-toggle span { background:var(--navy); }
.error-page { min-height:72vh; display:flex; align-items:center; padding:150px 0 100px; text-align:center; }
.error-page .container { max-width:760px; }
.error-code { font:600 13px var(--mono); letter-spacing:.14em; color:var(--teal); text-transform:uppercase; margin-bottom:14px; }
.error-page h1 { font-size:clamp(42px,7vw,72px); color:var(--navy); margin-bottom:18px; }
.error-page p { color:#536173; max-width:600px; margin:0 auto 30px; line-height:1.7; }
.error-actions { display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }

/* User-supplied product imagery: fixed frame + optional alternate photo cross-fade. */
.product-media{position:relative;background:#f7f9fb;}
.product-media .product-image{position:relative;z-index:1;object-fit:contain;object-position:center;background:#f7f9fb;}
.product-media .product-image-alt{position:absolute;inset:0;z-index:2;opacity:0;transition:opacity .28s ease;pointer-events:none;}
.product-media.show-alt .product-image-alt{opacity:1;}

/* ---------- Rental Services ---------- */
.rental-section{background:var(--pale);padding-top:88px;padding-bottom:88px;}
.rental-panel{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:0;border:1px solid rgba(7,43,82,.12);border-radius:24px;background:var(--navy-deep);box-shadow:0 26px 60px -32px rgba(5,24,48,.42);overflow:hidden;}
.rental-copy{padding:48px 48px 44px;display:flex;flex-direction:column;justify-content:center;}
.rental-kicker{font:600 10.5px var(--mono);letter-spacing:.14em;color:#72e0d4;margin-bottom:14px;}
.rental-kicker span{display:inline-block;width:24px;height:2px;background:var(--teal);vertical-align:middle;margin-right:8px;}
.rental-copy h2{font-family:var(--display);font-size:clamp(30px,3.3vw,44px);line-height:1.12;color:var(--white);margin:0 0 16px;max-width:720px;}
.rental-copy>p{color:rgba(232,241,248,.80);max-width:700px;font-size:14px;line-height:1.72;}
.rental-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:26px 0 28px;}
.rental-benefits>div{padding:14px 13px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.055);min-height:78px;}
.rental-benefits strong{display:block;font:500 10px var(--mono);color:#72e0d4;margin-bottom:7px;}
.rental-benefits span{display:block;font-size:12px;line-height:1.45;color:rgba(255,255,255,.86);}
.rental-copy .hero-btns{margin-top:0;}
.rental-copy .btn-outline{color:var(--white);border-color:rgba(255,255,255,.30);}
.rental-note{font-size:11.5px !important;line-height:1.55 !important;color:rgba(232,241,248,.58) !important;margin-top:16px !important;margin-bottom:0 !important;}
.rental-side{padding:48px 38px;background:linear-gradient(180deg,rgba(0,184,169,.10),rgba(0,184,169,.025));border-left:1px solid rgba(255,255,255,.10);display:flex;flex-direction:column;justify-content:center;}
.rental-side-label{font:600 10px var(--mono);letter-spacing:.16em;color:#72e0d4;margin-bottom:13px;}
.rental-side-title{font-family:var(--display);font-size:24px;line-height:1.22;color:var(--white);margin-bottom:26px;max-width:330px;}
.rental-side-list{display:flex;flex-direction:column;gap:20px;}
.rental-side-list>div{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:start;}
.rental-icon{width:34px;height:34px;border-radius:10px;border:1px solid rgba(114,224,212,.28);background:rgba(0,184,169,.10);color:#72e0d4;display:flex;align-items:center;justify-content:center;font:500 10px var(--mono);}
.rental-side-list strong{display:block;color:var(--white);font-size:13px;font-weight:600;margin:1px 0 4px;}
.rental-side-list p{margin:0;color:rgba(232,241,248,.64);font-size:11.5px;line-height:1.55;}
@media(max-width:900px){.rental-panel{grid-template-columns:1fr}.rental-copy{padding:36px 28px}.rental-side{border-left:0;border-top:1px solid rgba(255,255,255,.10);padding:34px 28px}.rental-benefits{grid-template-columns:1fr;}}
@media(max-width:560px){.rental-section{padding-top:64px;padding-bottom:64px}.rental-copy{padding:30px 22px}.rental-side{padding:30px 22px}.rental-copy h2{font-size:30px}.rental-benefits{margin:20px 0 24px;}}

.contact-info-item a{color:inherit;text-decoration:none;}
.contact-info-item a:hover{text-decoration:underline;}
@media(max-width:850px){.rental-panel{grid-template-columns:1fr;padding:28px;}}
