/* Life Line Medical Systems — site styles */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-var.woff2") format("woff2-variations"), url("../fonts/archivo-var.woff2") format("woff2");
}

:root {
  --ink: #0e2a47;          /* logo navy */
  --ink-2: #1b3d61;
  --blue: #1f6fa3;         /* action blue, AA on white */
  --blue-logo: #3a97c4;
  --sky: #dcecf5;
  --sky-2: #eef6fa;
  --bg: #f5f8fa;
  --line: #d6e1e8;
  --text: #1c2833;
  --muted: #566776;
  --wa: #1a8f47;
  --white: #fff;
  --radius: 6px;
  --wrap: 1200px;
  --font: "Archivo", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  font-stretch: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-logo); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-stretch: 112%; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 760; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 68ch; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 999; }
.skip:focus { left: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1;
  padding: .95rem 1.35rem; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #136b35; color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sky); color: var(--ink); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(6px);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.brand img { height: 38px; width: auto; }
.brand span { display: none; font-size: .78rem; line-height: 1.2; color: var(--muted); font-weight: 600; border-left: 1px solid var(--line); padding-left: .75rem; }
@media (min-width: 1100px) { .brand span { display: block; } }
.nav { margin-left: auto; }
.nav-list { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.nav-list > li > a, .nav-drop > button {
  display: block; padding: .6rem .8rem; color: var(--ink); text-decoration: none; font-weight: 560;
  border-radius: var(--radius); background: none; border: 0; font: inherit; font-weight: 560; cursor: pointer;
}
.nav-list > li > a:hover, .nav-drop > button:hover { background: var(--sky-2); }
.nav-list a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav-drop { position: relative; }
.nav-drop > button::after { content: ""; display: inline-block; width: .45em; height: .45em; margin-left: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(45deg); }
.drop-menu {
  position: absolute; top: calc(100% + 6px); left: -1rem; min-width: 300px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px -18px rgba(14,42,71,.35);
  padding: .5rem; list-style: none; margin: 0; display: none;
}
.nav-drop.open .drop-menu { display: block; }
@media (hover: hover) and (min-width: 960px) { .nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: block; } }
.drop-menu a { display: block; padding: .6rem .75rem; color: var(--text); text-decoration: none; border-radius: 4px; }
.drop-menu a small { display: block; color: var(--muted); font-size: .82rem; }
.drop-menu a:hover { background: var(--sky-2); color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: .5rem; }
.header-phone { font-weight: 650; color: var(--ink); text-decoration: none; white-space: nowrap; padding: .5rem; }
.header-cta .btn { padding: .7rem 1rem; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: .55rem .7rem; cursor: pointer; color: var(--ink); font: inherit; font-weight: 600; }

@media (max-width: 959px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: .4rem; }
  .header-cta { display: none; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 1rem 1.25rem 6rem; overflow-y: auto; display: none; margin: 0; }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .nav-drop > button { padding: 1rem .25rem; width: 100%; text-align: left; font-size: 1.1rem; }
  .nav-list a[aria-current="page"] { box-shadow: none; }
  .drop-menu { position: static; box-shadow: none; border: 0; padding: 0 0 .75rem; min-width: 0; }
  .nav-mobile-cta { display: grid !important; gap: .6rem; margin-top: 1.25rem; }
}
.nav-mobile-cta { display: none !important; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 0; background: linear-gradient(var(--sky-2), #fff 70%); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } }
.hero h1 { margin-bottom: .45em; }
.hero .lead { margin-bottom: 1.75rem; }
.hero-figure { margin: 0; position: relative; }
.hero-figure img { width: 100%; aspect-ratio: 4/3.3; object-fit: cover; border-radius: var(--radius); }
.hero-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.hero-note { font-size: .92rem; color: var(--muted); margin-top: 1rem; }

/* Facts band */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(2.5rem, 5vw, 4rem); background: #fff; }
.facts-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 720px) { .facts-grid { grid-template-columns: repeat(3, 1fr); } }
.fact { padding: 1.5rem 1.25rem 1.5rem 0; }
@media (min-width: 720px) { .fact + .fact { border-left: 1px solid var(--line); padding-left: 1.75rem; } }
@media (max-width: 719px) { .fact + .fact { border-top: 1px solid var(--line); } }
.fact strong { display: block; font-size: 1.9rem; font-stretch: 118%; color: var(--ink); line-height: 1.1; font-weight: 720; }
.fact span { color: var(--muted); font-size: .95rem; }

/* Sections */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--bg); }
.section-ink { background: var(--ink); color: #d7e6f0; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-head { display: grid; gap: .5rem 3rem; margin-bottom: 2.5rem; align-items: end; }
@media (min-width: 900px) { .section-head { grid-template-columns: 1fr auto; } }
.section-head p { margin: 0; color: var(--muted); max-width: 62ch; }
.section-ink .section-head p { color: #b9cfdf; }

/* Service tiles */
.tiles { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .tiles { grid-template-columns: 1.3fr 1fr 1fr; } }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; }
.tile img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: var(--sky-2); }
.tile-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.tile-body p { color: var(--muted); }
.tile-body .more { margin-top: auto; font-weight: 650; color: var(--blue); }
.tile:hover h3 { color: var(--blue); }
.tile-label { font-size: .85rem; color: var(--blue); font-weight: 650; margin-bottom: .35rem; }

/* Product cards */
.product-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.p-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; }
.p-card[hidden] { display: none; }
.p-media { background: #fff; aspect-ratio: 1/1; display: grid; place-items: center; border-bottom: 1px solid var(--line); padding: .75rem; }
.p-media img { width: 100%; height: 100%; object-fit: contain; }
.p-media.placeholder { background: var(--sky-2); color: var(--ink-2); text-align: center; font-weight: 600; padding: 1.5rem; }
.p-media.placeholder svg { width: 64px; height: 64px; margin: 0 auto .5rem; color: var(--blue-logo); }
.p-body { padding: 1.1rem 1.1rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: .2rem; }
.p-body h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.p-keys { list-style: none; margin: 0 0 1rem; padding: 0; font-size: .93rem; }
.p-keys li { padding: .35rem 0; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: .75rem; }
.p-keys li span:first-child { color: var(--muted); }
.p-keys li span:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.p-actions { margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.p-actions .btn { padding: .75rem .9rem; font-size: .95rem; }
.icon-btn { width: 46px; padding: 0 !important; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chip { font: inherit; font-size: .95rem; font-weight: 600; padding: .55rem .95rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-block { scroll-margin-top: calc(var(--header-h) + 20px); }
.cat-block + .cat-block { margin-top: 3.5rem; }
.cat-block > h2 { font-size: 1.6rem; border-bottom: 2px solid var(--ink); padding-bottom: .5rem; margin-bottom: 1.25rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.cat-block > h2 small { font-size: .9rem; color: var(--muted); font-weight: 500; font-stretch: 100%; }

/* Product dialog */
dialog.p-dialog { width: min(1040px, 100% - 1.5rem); max-height: calc(100dvh - 1.5rem); padding: 0; border: 0; border-radius: 8px; color: var(--text); }
dialog.p-dialog::backdrop { background: rgba(14,42,71,.6); }
.pd-grid { display: grid; }
@media (min-width: 860px) { .pd-grid { grid-template-columns: 1fr 1fr; } }
.pd-gallery { background: #fff; padding: 1.25rem; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .pd-gallery { border-bottom: 0; border-right: 1px solid var(--line); } }
.pd-main { aspect-ratio: 1/1; display: grid; place-items: center; }
.pd-main img { max-height: 100%; width: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.pd-thumbs button { width: 64px; height: 64px; padding: 3px; border: 2px solid var(--line); border-radius: 4px; background: #fff; cursor: pointer; }
.pd-thumbs button[aria-current="true"] { border-color: var(--blue); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pd-info { padding: 1.5rem 1.5rem 1.75rem; }
.pd-info h2 { font-size: 1.7rem; margin-bottom: .25rem; }
.pd-info .pd-sub { color: var(--muted); margin-bottom: 1.25rem; }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 1.5rem; }
.spec caption { text-align: left; font-weight: 700; color: var(--ink); padding-bottom: .4rem; font-stretch: 112%; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: .55rem 0; border-top: 1px solid var(--line); }
.spec th { color: var(--muted); font-weight: 500; width: 40%; padding-right: 1rem; }
.spec td { color: var(--ink); font-weight: 560; }
.pd-close { position: sticky; top: .6rem; display: block; margin: .6rem .6rem -46px auto; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1.4rem; line-height: 1; color: var(--ink); }
.pd-actions { display: grid; gap: .6rem; }
@media (min-width: 520px) { .pd-actions { grid-template-columns: 1fr 1fr; } }
.pd-note { font-size: .85rem; color: var(--muted); margin-top: 1rem; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: 1.5rem 1.5rem 1.5rem 0; border-top: 2px solid rgba(255,255,255,.18); }
@media (min-width: 800px) { .steps li { padding-right: 2rem; } }
.steps li::before { content: counter(step); display: block; font-size: 2.6rem; font-weight: 300; font-stretch: 125%; color: var(--blue-logo); line-height: 1; margin-bottom: .75rem; }
.section-alt .steps li, .section .steps.light li { border-top-color: var(--line); }
.steps h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.steps p { margin: 0; font-size: .97rem; }

/* Gallery */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 220px; } .gallery .g-big { grid-row: span 2; } }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--sky-2); min-height: 160px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .85rem .65rem; color: #fff; font-size: .88rem; font-weight: 600; background: linear-gradient(transparent, rgba(14,42,71,.85)); }

/* Two column content */
.split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } .split.wide-left { grid-template-columns: 1.3fr 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check-list li { position: relative; padding: .55rem 0 .55rem 1.9rem; border-top: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: .2rem; top: .95rem; width: .9rem; height: .5rem; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.check-list strong { color: var(--ink); }

/* Components grid (modular OT) */
.comp-grid { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 700px) { .comp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .comp-grid { grid-template-columns: repeat(3, 1fr); } }
.comp { padding: 1.4rem 1.5rem 1.4rem 0; border-bottom: 1px solid var(--line); }
.comp h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.comp p { margin: 0; color: var(--muted); font-size: .97rem; }

/* States */
.states { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 1.25rem 0 0; }
.states li { border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .4rem .9rem; color: #fff; font-weight: 550; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); color: var(--text); }
.form-grid { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form-grid.two { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 620; font-size: .95rem; margin-bottom: .35rem; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1px solid #b9c9d4; border-radius: var(--radius); background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(58,151,196,.35); border-color: var(--blue); }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.hp { position: absolute; left: -5000px; }
.form-status { margin-top: 1rem; font-size: .95rem; }
.form-status.error { color: #a3261b; }
.form-fine { font-size: .82rem; color: var(--muted); margin: .75rem 0 0; }

/* Catalog band */
.catalog-band { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .catalog-band { grid-template-columns: auto 1fr auto; } }
.catalog-band img { width: 150px; border-radius: 4px; box-shadow: 0 12px 30px -12px rgba(0,0,0,.5); }

/* Page header (inner pages) */
.page-head { background: var(--sky-2); padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); max-width: 22ch; }
.page-head .lead { margin: 0; }

/* Office cards */
.offices { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .offices { grid-template-columns: 1fr 1fr; } }
.office { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; background: #fff; }
.office h3 { margin-bottom: .25rem; }
.office address { font-style: normal; color: var(--muted); margin-bottom: 1rem; }
.office .lines a { display: block; font-weight: 650; text-decoration: none; padding: .2rem 0; }
.map { width: 100%; height: 260px; border: 0; border-radius: var(--radius); margin-top: 1rem; background: var(--sky-2); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; color: var(--ink); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .75rem 0 0; color: var(--muted); max-width: 70ch; }

/* Articles */
.article-list { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .article-list { grid-template-columns: repeat(3, 1fr); } }
.a-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; background: #fff; text-decoration: none; color: inherit; }
.a-card .tag { font-size: .85rem; font-weight: 650; color: var(--blue); margin-bottom: .5rem; }
.a-card h3 { font-size: 1.2rem; }
.a-card p { color: var(--muted); font-size: .97rem; }
.a-card .more { margin-top: auto; font-weight: 650; color: var(--blue); }
.a-card:hover h3 { color: var(--blue); }
.prose { max-width: 70ch; font-size: 1.1rem; line-height: 1.7; }
.prose h2 { font-size: 1.55rem; margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
.aside-cta { background: var(--sky-2); border-left: 4px solid var(--blue); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 2.5rem 0; }
.aside-cta p { margin-bottom: .75rem; }

/* Footer */
.site-footer { background: var(--ink); color: #b9cfdf; padding: 4rem 0 6rem; font-size: .97rem; }
@media (min-width: 960px) { .site-footer { padding-bottom: 2rem; } }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; font-stretch: 100%; margin-bottom: .9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.footer-logo { height: 40px; width: auto; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 3rem; padding-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .88rem; }

/* Floating WhatsApp (desktop) + mobile action bar */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: none; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); }
.wa-float svg { width: 30px; height: 30px; }
@media (min-width: 960px) { .wa-float { display: grid; } }
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.2fr; background: #fff; border-top: 1px solid var(--line); padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom)); gap: .5rem; }
.action-bar a { display: flex; align-items: center; justify-content: center; gap: .4rem; padding: .75rem .25rem; border-radius: var(--radius); font-weight: 650; text-decoration: none; font-size: .95rem; }
.action-bar svg { width: 1.2em; height: 1.2em; }
.ab-call { color: var(--ink); border: 1px solid var(--line); }
.ab-wa { background: var(--wa); color: #fff !important; }
.ab-quote { background: var(--blue); color: #fff !important; }
@media (min-width: 960px) { .action-bar { display: none; } }

/* Catalog dialog */
dialog.small-dialog { width: min(460px, 100% - 1.5rem); border: 0; border-radius: 8px; padding: 1.75rem; }
dialog.small-dialog::backdrop { background: rgba(14,42,71,.6); }
dialog.small-dialog h2 { font-size: 1.4rem; }

/* Misc */
.notice { background: var(--sky-2); border: 1px solid var(--line); padding: 1rem 1.25rem; border-radius: var(--radius); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.also-list { columns: 2 220px; padding-left: 1.2rem; color: var(--muted); }
.text-link { font-weight: 650; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .site-header, .action-bar, .wa-float, .site-footer { display: none; } }

/* Refinements */
.tile img { aspect-ratio: auto; height: 230px; }
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; gap: .9rem; }
  .p-card { display: grid; grid-template-columns: 118px 1fr; }
  .p-media { aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); padding: .4rem; }
  .p-media.placeholder { padding: .5rem; font-size: .8rem; }
  .p-media.placeholder svg { width: 40px; height: 40px; }
  .p-body { padding: .8rem .85rem .9rem; }
  .p-body h3 { font-size: 1.02rem; margin-bottom: .35rem; }
  .p-keys { font-size: .85rem; margin-bottom: .7rem; }
  .p-keys li { padding: .25rem 0; }
  .p-keys li:nth-child(n+2) { display: none; }
  .p-actions .btn { padding: .6rem .5rem; font-size: .88rem; }
  .icon-btn { width: 40px; }
}
@media (max-width: 700px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1.25rem; padding: 0 1.25rem .25rem; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex: none; }
}

/* Product detail pages */
.pp-head { padding: 1.1rem 0; }
.pp-head .crumbs { margin: 0; }
.pp-top { padding-top: 2rem; }
.pp-grid { gap: 2.5rem; align-items: start; }
.pp-gallery { border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 860px) { .pp-gallery { position: sticky; top: calc(var(--header-h) + 16px); border-right: 1px solid var(--line); } }
.pp-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.pp-info .lead { margin-bottom: 1.25rem; }
.pp-info .spec { margin-top: 1.75rem; }
.p-title { color: inherit; text-decoration: none; }
.p-title:hover { color: var(--blue); }
a.p-media { text-decoration: none; }

/* Chatbot */
.chat-launch { position: fixed; z-index: 44; right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1rem; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font: inherit; font-weight: 650; cursor: pointer; box-shadow: 0 10px 24px -8px rgba(14,42,71,.55); }
.chat-launch svg { width: 1.25em; height: 1.25em; }
@media (min-width: 960px) { .chat-launch { right: 22px; bottom: 92px; } }
.chat-open .chat-launch { display: none; }
.chat { position: fixed; z-index: 60; inset: 0; background: #fff; display: flex; flex-direction: column; }
.chat[hidden] { display: none; }
@media (min-width: 700px) { .chat { inset: auto 22px 22px auto; width: 380px; height: min(600px, calc(100vh - 44px)); border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(14,42,71,.45); overflow: hidden; } }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: calc(.85rem + env(safe-area-inset-top)) 1rem .85rem; background: var(--ink); color: #fff; }
.chat-head strong { display: block; font-stretch: 112%; }
.chat-head small { color: #b9cfdf; font-size: .8rem; }
.chat-x { background: none; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; padding: 0 .25rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; background: var(--bg); display: flex; flex-direction: column; gap: .6rem; }
.msg { max-width: 88%; padding: .65rem .85rem; border-radius: 10px; font-size: .95rem; line-height: 1.5; }
.msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.msg.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 3px; }
.msg-text { white-space: pre-line; }
.msg-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.msg-links a { font-size: .88rem; font-weight: 650; padding: .4rem .7rem; border-radius: 999px; border: 1px solid var(--blue); text-decoration: none; }
.msg-links a.wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips button { font: inherit; font-size: .88rem; font-weight: 600; padding: .45rem .8rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chips button:hover { border-color: var(--blue); color: var(--blue); }
.chat-form { display: flex; gap: .5rem; padding: .7rem .7rem calc(.7rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; font: inherit; font-size: 1rem; padding: .7rem .9rem; border: 1px solid #b9c9d4; border-radius: 999px; min-width: 0; }
.chat-form button { width: 46px; flex: none; border: 0; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-form button svg { width: 20px; height: 20px; }

/* Nav: hide "Home" text link on mid-size desktops to make room (logo links home) */
@media (min-width: 960px) and (max-width: 1239px) { .nav-list > li:first-child { display: none; } .header-phone { display: none; } }
.footer-legal { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }

/* Pay online */
.pay-box { border: 2px solid var(--ink); border-radius: 10px; padding: clamp(1.25rem, 3vw, 2rem); background: #fff; }
.pay-box h2 { font-size: 1.5rem; }
.pay-methods { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.pay-methods li { font-size: .88rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; background: var(--sky-2); color: var(--ink); border: 1px solid var(--line); }
.rzp-slot { min-height: 52px; margin: .5rem 0 1rem; }
.pay-secure { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.pay-secure svg { width: 20px; height: 20px; flex: none; color: var(--wa); margin-top: .1rem; }
.warn { border-left: 4px solid #c27c00; background: #fff8e8; padding: 1rem 1.25rem; border-radius: 0 var(--radius) var(--radius) 0; }
.warn strong { color: #6b4300; }
@media (min-width: 960px) {
  .nav-list > li > a, .nav-drop > button { white-space: nowrap; padding: .6rem .65rem; }
  .header-inner { gap: 1rem; }
  .header-cta .btn { white-space: nowrap; }
}
@media (min-width: 960px) and (max-width: 1399px) { .brand span { display: none; } .nav-list > li:first-child { display: none; } }
@media (min-width: 960px) and (max-width: 1239px) { .header-phone { display: none; } }
@media (min-width: 960px) and (max-width: 1060px) { .nav-list > li > a, .nav-drop > button { padding: .6rem .45rem; font-size: .97rem; } }

/* Staff login button */
.btn-login { border-color: var(--ink); color: var(--ink); background: transparent; padding: .65rem .9rem !important; }
.btn-login:hover { background: var(--ink); color: #fff; }
.btn-login svg { width: 1em; height: 1em; }
@media (min-width: 960px) and (max-width: 1060px) { .header-cta .btn-primary { padding: .65rem .75rem; font-size: .95rem; } }
@media (min-width: 960px) { .brand span { display: none; } .nav-list > li:first-child { display: none; } }
/* Mobile menu: backdrop-filter on the header traps the fixed menu panel, so drop it on small screens */
@media (max-width: 959px) { .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }
@media (max-width: 959px) { .nav-mobile-cta { display: grid !important; } }
