/* ============================================================
   Elite Surgical Supplies — design tokens
   Palette: deep navy / gunmetal steel — corporate, precise, trusted
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --navy-900:#081326;
  --navy-800:#0d1f3c;
  --navy-700:#17325a;
  --navy-600:#234878;
  --steel-500:#64748b;
  --steel-300:#aab4c2;
  --steel-200:#d7dde4;
  --bg:#cfd3d8;
  --white:#ffffff;
  --accent:#4a90c2;
  --accent-dim:#cfe0ec;
  --line:#bfc5cc;
  --radius:2px;
  --shadow: 0 1px 3px rgba(8,19,38,.08), 0 8px 24px rgba(8,19,38,.06);
  --instrument-pattern: url("bg-instruments.png");
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Inter',system-ui,sans-serif;
  color:var(--navy-900);
  background-color:var(--bg);
  background-image:var(--instrument-pattern);
  background-repeat:repeat;
  background-size:720px 720px;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}

h1,h2,h3{
  font-family:'Fraunces',serif;
  font-weight:600;
  line-height:1.08;
  margin:0 0 .4em;
  letter-spacing:-.01em;
}

.mono{
  font-family:'IBM Plex Mono',monospace;
  letter-spacing:.04em;
}

.eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--accent);
  display:flex;
  align-items:center;
  gap:.6em;
}
.eyebrow::before{
  content:"";
  width:22px;height:1px;
  background:var(--accent);
  display:inline-block;
}

.container{
  max-width:1120px;
  margin:0 auto;
  padding:0 28px;
}

/* ---------- Header / nav ---------- */
header.site{
  position:sticky; top:0; z-index:40;
  background-color:var(--bg);
  background-image:var(--instrument-pattern);
  background-repeat:repeat;
  background-size:720px 720px;
  border-bottom:1px solid var(--line);
}
.nav-row{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  color:var(--navy-900);
}
.brand img{height:68px; width:auto;}
.brand .name{
  font-family:'Fraunces',serif;
  font-weight:600;
  font-size:1.05rem;
  color:var(--navy-900);
  line-height:1.1;
}
.brand .name span{
  display:block;
  font-family:'IBM Plex Mono',monospace;
  font-size:.62rem;
  letter-spacing:.14em;
  color:var(--steel-500);
  text-transform:uppercase;
  margin-top:2px;
}
nav.links{display:flex; align-items:center; gap:28px;}
nav.links a{
  color:var(--steel-500);
  font-size:.88rem;
  font-weight:500;
  transition:color .15s;
}
nav.links a:hover{color:var(--navy-900);}

/* ---------- Uniform primary CTA buttons (Get in Touch / Request a Quote / Contact Us / Download Catalog) ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:11px 20px;
  font-size:.85rem;
  font-weight:600;
  border-radius:var(--radius);
  border:1px solid transparent;
  cursor:pointer;
  transition:all .15s;
}
.btn-primary{
  background:var(--accent);
  color:var(--navy-900);
}
.btn-primary:hover{background:#5fa2d4;}
nav.links a.btn-primary, nav.links a.btn-primary.active{color:var(--navy-900);}
.btn-outline{
  border-color:var(--steel-300);
  color:var(--navy-900);
}
.btn-outline:hover{border-color:var(--navy-900); background:rgba(8,19,38,.05);}
.btn-dark{
  background:var(--navy-900);
  color:var(--white);
}
.btn-dark:hover{background:var(--navy-800);}

/* ---------- Hero ---------- */
.hero{
  background-color:var(--bg);
  background-image:var(--instrument-pattern);
  background-repeat:repeat;
  background-size:720px 720px;
  color:var(--navy-900);
  position:relative;
  overflow:hidden;
  padding:88px 0 100px;
  border-bottom:1px solid var(--line);
}
.hero .container{position:relative; z-index:2;}

/* Centered hero variant — used on the landing page, logo-led */
.hero-centered .container{text-align:center;}
.hero-logo{
  height:200px; width:auto;
  max-width:90%;
  margin:0 auto 36px;
  display:block;
}
.hero-centered .eyebrow{justify-content:center;}
.hero-centered .lead{margin-left:auto; margin-right:auto;}
.hero-centered .hero-ctas{justify-content:center;}
.hero-centered .stat-strip{text-align:center;}
.hero-centered .stat-strip .stat span{max-width:22ch; margin:0 auto; display:block;}

.hero-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:56px;
  align-items:center;
}
.hero h1{
  font-size:clamp(2.3rem, 4.2vw, 3.4rem);
  color:var(--navy-900);
  margin-bottom:.5em;
}
.hero h1 em{
  font-style:normal;
  color:var(--accent);
}
.hero p.lead{
  font-size:1.08rem;
  color:var(--steel-500);
  max-width:46ch;
  line-height:1.6;
  margin-bottom:2em;
}
.hero-ctas{display:flex; gap:14px; flex-wrap:wrap;}

/* instrument-line motif */
.instrument-panel{
  position:relative;
  aspect-ratio:1/1.05;
  border:1px solid var(--line);
  background:var(--white);
  display:flex; align-items:center; justify-content:center;
  padding:24px;
}
.instrument-panel svg{width:100%; height:100%;}
.instrument-panel .tag{
  position:absolute; bottom:14px; left:14px;
  font-family:'IBM Plex Mono',monospace;
  font-size:.68rem; letter-spacing:.1em;
  color:var(--steel-500);
  text-transform:uppercase;
}

.stat-strip{
  border-top:1px solid var(--line);
  margin-top:64px; padding-top:32px;
  display:grid; grid-template-columns:repeat(3,1fr); gap:32px 24px;
}
.stat-strip .stat b{
  font-family:'Fraunces',serif;
  font-size:2.7rem; font-weight:600;
  color:var(--navy-900);
  display:block;
}
.stat-strip .stat span{
  font-size:1.25rem; color:var(--steel-500); line-height:1.4;
}

/* ---------- Section shell ---------- */
section{padding:84px 0;}
section.tight{padding:64px 0;}
.section-head{
  display:flex; justify-content:space-between; align-items:flex-end;
  gap:24px; margin-bottom:44px; flex-wrap:wrap;
}
.section-head h2{font-size:clamp(1.7rem,3vw,2.3rem);}
.section-head p{
  color:var(--steel-500); max-width:46ch; margin:0;
  font-size:.98rem; line-height:1.55;
}

/* ---------- Category grid ---------- */
.cat-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.cat-card{
  background:var(--white);
  padding:28px 26px;
  position:relative;
  display:block;
  transition:background .15s;
}
a.cat-card:hover{background:var(--bg);}
a.cat-card:hover h3{color:var(--accent);}
.cat-card .code{
  font-family:'IBM Plex Mono',monospace;
  font-size:.7rem; color:var(--accent);
  letter-spacing:.08em;
}
.cat-card h3{
  font-size:1.12rem;
  margin:.5em 0 .35em;
  color:var(--navy-900);
}
.cat-card p{
  font-size:.86rem; color:var(--steel-500); line-height:1.55; margin:0;
}
.cat-card .range{
  margin-top:14px;
  font-family:'IBM Plex Mono',monospace;
  font-size:.7rem;
  color:var(--steel-300);
  border-top:1px dashed var(--line);
  padding-top:12px;
}

/* ---------- Why / features ---------- */
.feature-row{
  display:grid; grid-template-columns:repeat(4,1fr); gap:32px;
}
.feature{border-top:2px solid var(--navy-900); padding-top:18px;}
.feature h3{font-size:1.02rem; margin-bottom:.4em;}
.feature p{font-size:.86rem; color:var(--steel-500); line-height:1.55; margin:0;}

/* ---------- Catalog CTA band ---------- */
.catalog-band{
  background:var(--accent);
  color:var(--white);
  border:1px solid var(--accent);
  border-left:3px solid var(--navy-900);
  border-radius:var(--radius);
  padding:48px;
  display:flex; align-items:center; justify-content:space-between; gap:32px;
  flex-wrap:wrap;
}
.catalog-band h2{color:var(--white); font-size:1.7rem; margin-bottom:.3em;}
.catalog-band p{color:var(--white); margin:0; max-width:42ch; font-size:.94rem; opacity:.92;}
.catalog-band .btn-primary{background:var(--white); color:var(--navy-900);}
.catalog-band .btn-primary:hover{background:var(--accent-dim);}

/* ---------- Process ---------- */
.process{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  border-top:1px solid var(--line); border-left:1px solid var(--line);
}
.process .step{
  border-right:1px solid var(--line); border-bottom:1px solid var(--line);
  padding:28px 24px; background:var(--white);
}
.process .step .n{
  font-family:'IBM Plex Mono',monospace;
  font-size:2.6rem; font-weight:700; color:var(--accent);
  display:block; margin-bottom:.15em; line-height:1;
}
.process .step h3{font-size:1.25rem; font-weight:700; margin:.3em 0 .4em;}
.process .step p{font-size:1.05rem; font-weight:600; color:var(--navy-900); line-height:1.5; margin:0;}

/* ---------- Footer ---------- */
footer.site{
  background-color:var(--bg);
  background-image:var(--instrument-pattern);
  background-repeat:repeat;
  background-size:720px 720px;
  color:var(--steel-500);
  padding:56px 0 28px;
  border-top:1px solid var(--line);
}
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px;
  padding-bottom:36px; border-bottom:1px solid var(--line);
}
footer.site h4{
  color:var(--navy-900); font-family:'IBM Plex Mono',monospace;
  font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  margin:0 0 16px;
}
footer.site .brand-block{display:flex; gap:12px; align-items:center; margin-bottom:14px;}
footer.site .brand-block img{height:96px;}
footer.site .brand-block .name{font-family:'Fraunces',serif; color:var(--navy-900); font-weight:600;}
footer.site p{font-size:.86rem; line-height:1.6; margin:0 0 8px; color:var(--steel-500);}
footer.site a{font-size:.86rem; color:var(--steel-500); display:block; margin-bottom:10px;}
footer.site a:hover{color:var(--navy-900);}
.footer-bottom{
  display:flex; justify-content:space-between; padding-top:22px;
  font-size:.78rem; color:var(--steel-500); flex-wrap:wrap; gap:10px;
}

/* ---------- Contact page ---------- */
.contact-hero{
  background-color:var(--bg);
  background-image:var(--instrument-pattern);
  background-repeat:repeat;
  background-size:720px 720px;
  color:var(--navy-900); padding:64px 0 56px;
  border-bottom:1px solid var(--line);
}
.contact-hero h1{color:var(--navy-900); font-size:clamp(2rem,3.6vw,2.8rem);}
.contact-hero p{color:var(--steel-500); max-width:52ch; font-size:1.02rem; line-height:1.6;}

.contact-grid{
  display:grid; grid-template-columns:.95fr 1.15fr; gap:0;
  border:1px solid var(--line); background:var(--white);
  margin-top:-46px; position:relative; z-index:5;
  box-shadow:var(--shadow);
}
.contact-info{
  background-color:var(--bg);
  background-image:var(--instrument-pattern);
  background-repeat:repeat;
  background-size:720px 720px;
  color:var(--navy-900);
  padding:44px 40px;
  border-right:1px solid var(--line);
}
.contact-info h2{color:var(--navy-900); font-size:1.4rem;}
.contact-info p.small{color:var(--steel-500); font-size:.9rem; line-height:1.6;}
.info-item{
  display:flex; gap:14px; align-items:flex-start;
  padding:18px 0; border-top:1px solid var(--line);
}
.info-item .ic{
  width:34px; height:34px; flex:none;
  border:1px solid var(--line);
  background:var(--white);
  display:flex; align-items:center; justify-content:center;
  color:var(--accent);
}
.info-item .label{font-family:'IBM Plex Mono',monospace; font-size:.68rem; letter-spacing:.08em; color:var(--steel-500); text-transform:uppercase;}
.info-item .val{font-size:.98rem; margin-top:2px; color:var(--navy-900);}
.info-item a.val{color:var(--navy-900);}
.info-item a.val:hover{color:var(--accent);}

.contact-form{padding:44px 40px;}
.contact-form h2{font-size:1.4rem;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:18px;}
.field{margin-bottom:18px;}
.field label{
  display:block; font-family:'IBM Plex Mono',monospace;
  font-size:.7rem; letter-spacing:.06em; text-transform:uppercase;
  color:var(--steel-500); margin-bottom:7px;
}
.field input, .field select, .field textarea{
  width:100%; padding:12px 14px;
  border:1px solid var(--line); border-radius:var(--radius);
  font-family:'Inter',sans-serif; font-size:.94rem;
  background:var(--white); color:var(--navy-900);
}
.field textarea{resize:vertical; min-height:110px;}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:2px solid var(--accent); outline-offset:1px; background:var(--white);
}
.form-note{font-size:.78rem; color:var(--steel-500); margin-top:14px;}
#form-status{
  margin-top:16px; font-size:.88rem; display:none;
  padding:12px 14px; border-radius:var(--radius);
}
#form-status.ok{display:block; background:#e9f4ec; color:#1f6b3a;}

.map-band{
  border-top:1px solid var(--line);
  padding:40px; display:grid; grid-template-columns:repeat(3,1fr); gap:0;
  background:var(--white); border:1px solid var(--line); border-top:none;
}
.map-band .m{padding:0 30px; border-left:1px solid var(--line);}
.map-band .m:first-child{border-left:none; padding-left:0;}
.map-band .m .eyebrow{margin-bottom:10px;}
.map-band .m p{font-size:.9rem; color:var(--steel-500); line-height:1.6; margin:0;}

@media (max-width:860px){
  .hero-grid{grid-template-columns:1fr;}
  .stat-strip{grid-template-columns:repeat(2,1fr);}
  .cat-grid{grid-template-columns:repeat(2,1fr);}
  .feature-row{grid-template-columns:repeat(2,1fr);}
  .process{grid-template-columns:repeat(2,1fr);}
  .footer-grid{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr; margin-top:0;}
  .form-row{grid-template-columns:1fr;}
  .map-band{grid-template-columns:1fr; gap:24px;}
  .map-band .m{border-left:none; padding-left:0;}
  nav.links{display:none;}
}
@media (max-width:560px){
  .cat-grid{grid-template-columns:1fr;}
  .feature-row{grid-template-columns:1fr;}
  .process{grid-template-columns:1fr;}
  .stat-strip{grid-template-columns:repeat(2,1fr);}
  .stat-strip .stat b{font-size:2.1rem;}
  .stat-strip .stat span{font-size:1.05rem;}
  .process .step .n{font-size:2.1rem;}
  .process .step h3{font-size:1.12rem;}
  .process .step p{font-size:.96rem;}
  .hero-logo{height:120px;}
  .brand img{height:48px;}
  footer.site .brand-block img{height:64px;}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{transition:none !important; animation:none !important;}
}

/* ---------- Visual icon cards (categories & specialties) ---------- */
.icon-badge{
  width:76px; height:76px;
  border:1px solid var(--line);
  background:var(--bg);
  display:flex; align-items:center; justify-content:center;
  color:var(--accent);
  flex:none;
}
.icon-badge svg{width:40px; height:40px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round;}
.icon-badge.on-dark{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.18);
  color:var(--accent-dim);
}

.visual-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1px;
  background:var(--line);
  border:1px solid var(--line);
}
.visual-card{
  background:var(--white);
  padding:26px 24px;
  display:flex; flex-direction:column; gap:14px;
}
.visual-card .top-row{
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
}
.visual-card .range{
  font-family:'IBM Plex Mono',monospace; font-size:.68rem; color:var(--steel-300);
  text-align:right; line-height:1.5;
}
.visual-card .range b{
  display:block; font-size:.85rem; color:var(--accent); font-weight:500;
}
.visual-card h3{font-size:1.02rem; margin:0;}
.visual-card p{font-size:1.05rem; font-weight:600; color:var(--navy-900); line-height:1.5; margin:0;}
.visual-card a.stretch{position:absolute; inset:0;}
.visual-card{position:relative;}
a.visual-card:hover{background:var(--bg);}
a.visual-card:hover h3{color:var(--accent);}
a.visual-card{text-decoration:none; color:inherit;}

.specialty-card .tag-row{
  display:flex; flex-wrap:wrap; gap:6px;
  margin-top:2px;
}
.specialty-card .tag-row span{
  font-size:.7rem;
  padding:4px 9px;
  background:var(--bg);
  border:1px solid var(--line);
  color:var(--steel-500);
}
.specialty-card .tray-count{
  font-family:'IBM Plex Mono',monospace; font-size:.7rem; color:var(--accent);
}

@media (max-width:860px){
  .visual-grid{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:560px){
  .visual-grid{grid-template-columns:1fr;}
  .icon-badge{width:60px; height:60px;}
  .icon-badge svg{width:32px; height:32px;}
}
