/* Swat Medical Equipments — site styles */
:root{
  --brand:#003088; --brand-deep:#0a2457; --brand-soft:#e8eef9; --accent:#1aa260;
  --ink:#141c26; --muted:#56636f; --bg:#ffffff; --panel:#f5f7fb; --line:#dde3ee;
  --on-brand:#ffffff; --shadow:0 1px 2px rgba(10,36,87,.06),0 6px 20px rgba(10,36,87,.06);
  --radius:12px; --wrap:1160px;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --brand:#86a8ee; --brand-deep:#cddbf8; --brand-soft:#17264a; --accent:#3cc47f;
    --ink:#e8edf4; --muted:#a3aebb; --bg:#0b1322; --panel:#121d32; --line:#22314c;
    --on-brand:#0b1322; --shadow:none;
  }
}
:root[data-theme="dark"]{
  --brand:#86a8ee; --brand-deep:#cddbf8; --brand-soft:#17264a; --accent:#3cc47f;
  --ink:#e8edf4; --muted:#a3aebb; --bg:#0b1322; --panel:#121d32; --line:#22314c;
  --on-brand:#0b1322; --shadow:none;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.6 "Segoe UI",system-ui,-apple-system,Roboto,"Helvetica Neue",Arial,sans-serif}
img{max-width:100%;height:auto;display:block}
a{color:var(--brand)}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--brand);outline-offset:2px;border-radius:4px}
h1,h2,h3{line-height:1.18;letter-spacing:-.01em;color:var(--brand-deep);margin:0 0 .4em}
h1{font-size:clamp(30px,5vw,50px)}
h2{font-size:clamp(24px,3.4vw,34px)}
h3{font-size:19px}
p{margin:0 0 1em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 16px}
.skip{position:absolute;left:-999px;top:8px;background:var(--brand);color:var(--on-brand);padding:8px 14px;border-radius:8px;z-index:100}
.skip:focus{left:8px}
.muted{color:var(--muted)}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--brand);margin-bottom:10px}

/* Header */
.topbar{background:var(--brand-deep);color:#dfe7f7;font-size:13.5px}
:root[data-theme="dark"] .topbar{background:#08101d}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .topbar{background:#08101d}}
.topbar .wrap{display:flex;gap:18px;justify-content:space-between;align-items:center;min-height:36px;flex-wrap:wrap}
.topbar a{color:#fff;text-decoration:none}
.topbar .tb-left{display:flex;gap:18px;flex-wrap:wrap}
header.site{position:sticky;top:0;z-index:40;background:var(--bg);border-bottom:1px solid var(--line)}
header.site .wrap{display:flex;align-items:center;gap:20px;min-height:72px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--brand-deep);margin-right:auto}
.brand img{height:44px;width:auto;background:#fff;border-radius:8px;padding:3px 6px}
.brand span{font-weight:700;font-size:17px;line-height:1.15}
.brand small{display:block;font-weight:500;font-size:12px;color:var(--muted)}
nav.main ul{list-style:none;margin:0;padding:0;display:flex;gap:4px}
nav.main a{display:block;padding:10px 12px;border-radius:8px;text-decoration:none;color:var(--ink);font-weight:600;font-size:15px}
nav.main a:hover{background:var(--panel)}
nav.main a[aria-current="page"]{color:var(--brand);background:var(--brand-soft)}
.menu-btn{display:none;background:none;border:1px solid var(--line);border-radius:8px;padding:9px 11px;color:var(--ink);cursor:pointer}
.menu-btn svg{width:22px;height:22px;display:block}
@media (max-width:920px){
  .menu-btn{display:block}
  nav.main{position:absolute;left:0;right:0;top:100%;background:var(--bg);border-bottom:1px solid var(--line);display:none;box-shadow:var(--shadow)}
  nav.main.open{display:block}
  nav.main ul{flex-direction:column;padding:8px 16px 16px}
  nav.main a{padding:12px}
  header.site .btn.cta{display:none}
  .topbar .tb-right{display:none}
}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 20px;border-radius:10px;font-weight:700;font-size:15.5px;text-decoration:none;border:2px solid var(--brand);cursor:pointer;font-family:inherit;line-height:1.2}
.btn svg{width:19px;height:19px;flex:none}
.btn.primary{background:var(--brand);color:var(--on-brand)}
.btn.primary:hover{filter:brightness(1.08)}
.btn.ghost{background:transparent;color:var(--brand)}
.btn.ghost:hover{background:var(--brand-soft)}
.btn.wa{background:var(--accent);border-color:var(--accent);color:#fff}
.btn.sm{min-height:38px;padding:7px 14px;font-size:14px}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}

/* Sections */
section.block{padding:64px 0}
section.alt{background:var(--panel)}
.section-head{max-width:720px;margin-bottom:32px}
.section-head p{color:var(--muted);font-size:17px}
.grid{display:grid;gap:18px}
.g2{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.g3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.g4{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.card{background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);padding:22px;box-shadow:var(--shadow)}
section.alt .card{background:var(--bg)}
.card p:last-child{margin-bottom:0}
.card .muted{font-size:15px}

/* Hero */
.hero{padding:56px 0 48px;background:linear-gradient(180deg,var(--brand-soft),var(--bg))}
.hero .wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:40px;align-items:center}
.hero p.lead{font-size:clamp(17px,2.1vw,20px);color:var(--ink);max-width:600px;margin-bottom:26px}
.hero-photo{border-radius:18px;overflow:hidden;box-shadow:var(--shadow);aspect-ratio:4/5;background:var(--panel)}
.hero-photo img{width:100%;height:100%;object-fit:cover}
@media (max-width:820px){.hero .wrap{grid-template-columns:1fr}.hero-photo{aspect-ratio:16/11;max-height:420px}}
.trust{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.trust span{display:inline-flex;align-items:center;gap:7px;background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:6px 13px;font-size:14px;font-weight:600;color:var(--ink)}
.trust svg{width:16px;height:16px;color:var(--accent)}

/* Hero collage */
.collage{display:grid;grid-template-columns:1.25fr 1fr;grid-template-rows:1fr 1fr;gap:12px;height:min(560px,62vw)}
.collage figure{margin:0;border-radius:16px;overflow:hidden;background:var(--panel);box-shadow:var(--shadow);position:relative}
.collage figure:first-child{grid-row:1 / span 2}
.collage img{width:100%;height:100%;object-fit:cover}
.collage figcaption{position:absolute;left:10px;bottom:10px;background:rgba(10,36,87,.82);color:#fff;font-size:12.5px;font-weight:600;padding:4px 10px;border-radius:999px}
@media (max-width:820px){.collage{height:min(420px,90vw)}}
.hero h1 em{font-style:normal;color:var(--brand)}

/* Stats strip */
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:var(--bg);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);overflow:hidden;margin-top:-6px}
.stats div{padding:22px 20px;border-right:1px solid var(--line)}
.stats div:last-child{border-right:0}
.stats b{display:block;font-size:clamp(24px,3vw,32px);color:var(--brand);line-height:1.1}
.stats span{font-size:14.5px;color:var(--muted);font-weight:600}
@media (max-width:720px){.stats{grid-template-columns:1fr 1fr}.stats div:nth-child(2){border-right:0}.stats div:nth-child(-n+2){border-bottom:1px solid var(--line)}}

/* Feature cards */
.feature .ico{width:44px;height:44px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;margin-bottom:12px}
.feature .ico svg{width:22px;height:22px}
.serve-list{display:flex;flex-wrap:wrap;gap:10px}
.serve-list span{background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:9px 16px;font-weight:600;font-size:15px}
.visit{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:stretch}
@media (max-width:820px){.visit{grid-template-columns:1fr}}
.visit .photo{border-radius:16px;overflow:hidden;height:400px;background:var(--panel)}
@media (max-width:820px){.visit .photo{height:300px}}
.photos.four{grid-template-columns:repeat(4,1fr)}
@media (max-width:900px){.photos.four{grid-template-columns:repeat(2,1fr)}}
.visit .photo img{width:100%;height:100%;object-fit:cover}

/* Category tiles */
.cat{display:flex;flex-direction:column;gap:10px;text-decoration:none;color:inherit;transition:border-color .15s,transform .15s}
.cat:hover{border-color:var(--brand);transform:translateY(-2px)}
.cat .ico{width:46px;height:46px;border-radius:12px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center}
.cat .ico svg{width:26px;height:26px}
.cat h3{margin:0}
.cat .count{font-size:14px;color:var(--muted);font-weight:600}

/* Photo grid */
.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px}
.photos figure{margin:0;background:var(--bg);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.photos img{width:100%;aspect-ratio:4/5;object-fit:cover;background:var(--panel)}
.photos figcaption{padding:10px 12px;font-size:14px;font-weight:600}

/* Steps */
.steps{counter-reset:s}
.steps .card::before{counter-increment:s;content:counter(s);display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--brand);color:var(--on-brand);font-weight:800;margin-bottom:12px}

/* CTA band */
.cta-band{background:var(--brand-deep);color:#e6edfb;border-radius:18px;padding:40px;display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between}
:root[data-theme="dark"] .cta-band{background:#132544}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .cta-band{background:#132544}}
.cta-band h2{color:#fff;margin:0 0 6px}
.cta-band p{margin:0;color:#c9d6ef}
.cta-band .btn.ghost{color:#fff;border-color:#fff}
.cta-band .btn.ghost:hover{background:rgba(255,255,255,.1)}

/* Tables */
table.data{width:100%;border-collapse:collapse;font-size:15.5px}
table.data th,table.data td{text-align:left;padding:12px 10px;border-bottom:1px solid var(--line);vertical-align:top}
table.data th{color:var(--muted);font-weight:600;white-space:nowrap;width:1%}

/* Catalogue */
.cat-tools{position:sticky;top:72px;z-index:20;background:var(--bg);padding:14px 0;border-bottom:1px solid var(--line)}
.search{display:flex;gap:10px;align-items:center;margin-bottom:12px}
.search input{flex:1;min-height:46px;border:1px solid var(--line);border-radius:10px;padding:10px 14px;font:inherit;background:var(--bg);color:var(--ink)}
.chips{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.chip{flex:none;border:1px solid var(--line);background:var(--bg);color:var(--ink);border-radius:999px;padding:8px 14px;font:inherit;font-size:14px;font-weight:600;cursor:pointer;white-space:nowrap}
.chip[aria-pressed="true"]{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.cat-section{padding-top:28px}
.cat-section > h2{display:flex;align-items:center;gap:12px;scroll-margin-top:200px}
.cat-section > h2 .ico{width:40px;height:40px;border-radius:10px;background:var(--brand-soft);color:var(--brand);display:grid;place-items:center;flex:none}
.cat-section > h2 .ico svg{width:22px;height:22px}
.sub-head{font-size:14px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin:22px 0 10px}
.items{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}
.item{display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid var(--line);border-radius:10px;padding:10px 10px 10px 14px;background:var(--bg)}
.item b{font-weight:600;font-size:15px;line-height:1.3}
.item .add{flex:none;border:1.5px solid var(--brand);background:transparent;color:var(--brand);border-radius:8px;padding:6px 10px;font:inherit;font-size:13px;font-weight:700;cursor:pointer;min-height:36px}
.item .add[aria-pressed="true"]{background:var(--brand);color:var(--on-brand)}
.empty{display:none;padding:40px 0;text-align:center;color:var(--muted)}
.note{background:var(--brand-soft);border-radius:10px;padding:14px 16px;font-size:15px}

/* Forms */
form .field{display:flex;flex-direction:column;gap:6px;margin-bottom:14px}
form label{font-weight:600;font-size:15px}
form input,form select,form textarea{font:inherit;color:var(--ink);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:11px 13px;min-height:46px;width:100%}
form textarea{min-height:120px;resize:vertical}
.form-2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
@media (max-width:620px){.form-2{grid-template-columns:1fr}}
.qlist{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:8px}
.qlist li{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:10px;padding:8px 10px}
.qlist li span{flex:1;font-weight:600;font-size:15px}
.qlist input{width:76px;min-height:38px;padding:6px 8px}
.qlist button{border:none;background:none;color:var(--muted);cursor:pointer;font-size:22px;line-height:1;padding:4px 8px;border-radius:6px}
.qlist button:hover{color:#c0392b;background:var(--panel)}
.form-msg{font-size:14px;color:var(--muted);margin-top:10px}

/* Quote floating button + mobile bar */
.quote-fab{position:fixed;right:18px;bottom:18px;z-index:50;display:none;align-items:center;gap:8px;background:var(--brand);color:var(--on-brand);text-decoration:none;font-weight:700;border-radius:999px;padding:12px 18px;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.quote-fab.show{display:inline-flex}
.quote-fab b{background:var(--on-brand);color:var(--brand);border-radius:999px;min-width:24px;height:24px;display:grid;place-items:center;font-size:13px;padding:0 6px}
.mbar{display:none}
@media (max-width:720px){
  .mbar{display:grid;grid-template-columns:1fr 1fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:45;background:var(--bg);border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom));gap:8px}
  .mbar a{display:flex;flex-direction:column;align-items:center;gap:2px;text-decoration:none;font-size:12.5px;font-weight:700;color:var(--ink);padding:6px;border-radius:10px}
  .mbar a svg{width:22px;height:22px;color:var(--brand)}
  .mbar a.wa svg{color:var(--accent)}
  body{padding-bottom:74px}
  .quote-fab{bottom:86px}
}

/* Footer */
footer.site{background:var(--brand-deep);color:#c9d6ef;padding:52px 0 26px;margin-top:0}
:root[data-theme="dark"] footer.site{background:#08101d}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) footer.site{background:#08101d}}
footer.site h3{color:#fff;font-size:16px;margin-bottom:12px}
footer.site a{color:#fff;text-decoration:none}
footer.site a:hover{text-decoration:underline}
footer.site ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;font-size:15px}
footer.site .fgrid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:28px}
@media (max-width:820px){footer.site .fgrid{grid-template-columns:1fr 1fr}}
@media (max-width:480px){footer.site .fgrid{grid-template-columns:1fr}}
.social{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.social a{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand)}
.social a svg{width:20px;height:20px}
footer.site .social a{background:rgba(255,255,255,.1);color:#fff}
footer.site .social a:hover{background:rgba(255,255,255,.2)}
.card h3 svg{width:18px;height:18px;vertical-align:-3px;margin-right:4px;color:var(--brand)}
footer.site .flogo{background:#fff;border-radius:10px;padding:8px 12px;display:inline-block;margin-bottom:14px}
footer.site .flogo img{height:52px;width:auto}
footer.site .legal{border-top:1px solid rgba(255,255,255,.14);margin-top:36px;padding-top:18px;font-size:13.5px;display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between}

/* Page header (inner pages) */
.page-head{background:linear-gradient(180deg,var(--brand-soft),var(--bg));padding:46px 0 30px}
.page-head p{font-size:18px;color:var(--muted);max-width:720px;margin:0}
.crumbs{font-size:14px;color:var(--muted);margin-bottom:10px}
.crumbs a{color:var(--muted)}

.faq{display:flex;flex-direction:column;gap:10px}
.faq details{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:4px 18px}
.faq summary{cursor:pointer;font-weight:700;font-size:16.5px;padding:14px 0;list-style:none;display:flex;justify-content:space-between;gap:12px;color:var(--brand-deep)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font-size:22px;line-height:1;color:var(--brand)}
.faq details[open] summary::after{content:"−"}
.faq details p{color:var(--muted);margin:0 0 16px}
a.chip{text-decoration:none;display:inline-block}
.prose{max-width:760px}
.prose h2{margin-top:1.4em}
.prose li{margin-bottom:.4em}
