/* ============================================================
   Life Care Surgicals — Care for Life
   Palette derived from the brand logo (teal / turquoise)
   ============================================================ */
:root {
  --teal:        #1B9AA6;   /* primary brand teal           */
  --teal-deep:   #2A7A82;   /* logo lettering               */
  --teal-dark:   #15616B;   /* headings / footer            */
  --teal-darker: #0E4A52;
  --wash:        #D6E8EA;   /* watercolour background wash  */
  --wash-soft:   #EAF5F6;
  --mint:        #F2FAFB;
  --ink:         #21363A;   /* body text                    */
  --muted:       #5B7479;
  --line:        #DCEAEC;
  --white:       #ffffff;
  --accent:      #E8A13A;   /* warm accent for CTAs/badges  */
  --shadow-sm:   0 2px 10px rgba(21, 97, 107, .08);
  --shadow-md:   0 10px 30px rgba(21, 97, 107, .12);
  --shadow-lg:   0 24px 60px rgba(21, 97, 107, .18);
  --radius:      16px;
  --radius-sm:   10px;
  --maxw:        1180px;
  --header-h:    98px;   /* full height of the floating header (top gap + pill) */
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;            /* never scroll sideways on mobile */
}
img { max-width: 100%; height: auto; display: block; }
/* prevent long words/URLs from forcing horizontal scroll */
h1, h2, h3, p, a, summary, td, th { overflow-wrap: break-word; word-break: break-word; }
a { color: var(--teal-deep); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { color: var(--teal-dark); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
p  { margin: 0 0 1rem; }

.container { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--wash { background: linear-gradient(180deg, var(--mint), var(--wash-soft)); }
.eyebrow {
  display: inline-block; letter-spacing: .18em; text-transform: uppercase;
  font-size: .78rem; font-weight: 700; color: var(--teal);
  margin-bottom: .7rem;
}
.section-head { max-width: 720px; margin: 0 auto 2.8rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.6rem; border-radius: 50px; font-weight: 600;
  border: 2px solid transparent; cursor: pointer; transition: all .22s ease;
  font-size: .98rem;
}
.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }
.btn--light { background: #fff; color: var(--teal-dark); }
.btn--light:hover { background: var(--wash); color: var(--teal-darker); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 24px 0 0;            /* float gap above the pill (padding = no margin-collapse, no white strip) */
  background: transparent; border: 0;
  pointer-events: none;         /* transparent area doesn't block the hero */
}
.nav {
  position: relative; pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem .75rem .55rem 1.1rem;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(21,97,107,.16), 0 2px 6px rgba(21,97,107,.06);
  transition: box-shadow .3s ease, background .3s ease, border-radius .3s ease;
}
/* pull the first section up behind the floating header so the tinted
   background reaches the very top edge (removes the white strip) */
.hero, .page-hero { margin-top: calc(-1 * var(--header-h)); }
/* every banner clears the floating header: header height + breathing room */
.hero-grid { padding-top: calc(var(--header-h) + 3.5rem); }
.page-hero { padding-top: calc(var(--header-h) + 4rem); }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 54px; height: 54px; border-radius: 50%; box-shadow: var(--shadow-sm); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { color: var(--teal-dark); font-size: 1.12rem; letter-spacing: .02em; }
.brand-text span { color: var(--teal); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--teal-dark); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(27,154,166,.18), transparent 60%),
    linear-gradient(160deg, var(--mint) 0%, var(--wash) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
  /* padding-top is set by the floating-header clearance rule above */
}
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); color: var(--teal-darker); }
.hero h1 .accent { color: var(--teal); }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 38ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }
.hero-stats { display: flex; gap: 2.2rem; margin-top: 2.4rem; flex-wrap: wrap; }
.hero-stats .stat strong { display: block; font-size: 1.8rem; color: var(--teal-dark); }
.hero-stats .stat span { font-size: .85rem; color: var(--muted); }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-badge {
  position: relative; width: min(420px, 80%); aspect-ratio: 1; border-radius: 50%;
  background: #ffffff;
  display: grid; place-items: center; box-shadow: var(--shadow-lg);
  border: 10px solid rgba(255,255,255,.85);
}
.hero-badge img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  transform: scale(1.02);   /* trim the thin white margin of the logo file */
}
.hero-float {
  position: absolute; background: #fff; border-radius: 14px; padding: .7rem 1rem;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .55rem;
  font-size: .85rem; font-weight: 600; color: var(--teal-dark);
}
.hero-float .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.hero-float.f1 { top: 8%; left: -2%; }
.hero-float.f2 { bottom: 10%; right: -4%; }

/* ============================================================
   Trust strip
   ============================================================ */
.trust { background: var(--teal-dark); color: #fff; }
.trust .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 0; }
.trust-item { display: flex; align-items: center; gap: .7rem; font-size: .95rem; }
.trust-item svg { flex: none; }

/* ============================================================
   Feature cards (Why choose us)
   ============================================================ */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.feature .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--teal), var(--teal-deep)); color: #fff; margin-bottom: 1rem;
}
.feature h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ============================================================
   Category / product cards
   ============================================================ */
.cat-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cat-card .thumb { aspect-ratio: 4/3; background: var(--wash-soft); display: grid; place-items: center; overflow: hidden; }
.cat-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-card .body { padding: 1.1rem 1.2rem 1.3rem; }
.cat-card .tag { margin-bottom: .6rem; }
.cat-card h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.cat-card p { color: var(--muted); font-size: .9rem; margin: 0 0 .6rem; }
.tag {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--teal-deep); background: var(--wash);
  padding: .25rem .6rem; border-radius: 50px;
}
.link-arrow { font-weight: 600; font-size: .9rem; color: var(--teal); display: inline-flex; align-items: center; gap: .3rem; }
.cat-card:hover .link-arrow { gap: .55rem; }

/* product card (contained image — catalogue scans) */
.prod-card .thumb { background: #fff; }
.prod-card .thumb img { object-fit: contain; padding: .4rem; }

/* ============================================================
   Split / About
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split img.framed { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); padding: clamp(1.6rem, 3vw, 2.6rem);
}
.check-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .7rem; }
.check-list li { display: flex; align-items: flex-start; gap: .6rem; color: var(--ink); }
.check-list li svg { flex: none; margin-top: 3px; }

.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; margin-top: 1.5rem; }
.value b { color: var(--teal-dark); display: block; font-size: 1.4rem; }
.value span { color: var(--muted); font-size: .9rem; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal)); color: #fff;
  border-radius: 22px; padding: clamp(2.2rem, 5vw, 3.4rem); text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 50ch; margin: 0 auto 1.6rem; }
.cta-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   Contact
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; }
.info-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ic { width: 44px; height: 44px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--wash); color: var(--teal-dark); }
.info-list b { display: block; color: var(--teal-dark); font-size: .95rem; }
.info-list span, .info-list a { color: var(--muted); font-size: .95rem; }
.form { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm); }
.form label { font-size: .85rem; font-weight: 600; color: var(--teal-dark); display: block; margin-bottom: .35rem; }
.form input, .form textarea {
  width: 100%; max-width: 100%; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; color: var(--ink); background: var(--mint);
}
.form textarea {
  resize: vertical;        /* lock width — only allow vertical drag */
  min-height: 120px;
  max-height: 220px;       /* cap the height */
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--teal); background: #fff; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--teal-darker); color: rgba(255,255,255,.82); padding: 3.2rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 1rem; letter-spacing: .03em; }
.site-footer a { color: rgba(255,255,255,.82); display: block; padding: .2rem 0; font-size: .92rem; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.footer-brand img { width: 48px; height: 48px; border-radius: 50%; }
.footer-brand strong { color: #fff; font-size: 1.1rem; }
.footer-note { font-size: .9rem; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.4rem; padding-top: 1.3rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem; font-size: .85rem; }

/* ============================================================
   Page hero (inner pages)
   ============================================================ */
.page-hero {
  background:
    radial-gradient(900px 400px at 90% -20%, rgba(27,154,166,.20), transparent 60%),
    linear-gradient(160deg, var(--mint), var(--wash));
  padding-bottom: clamp(2.6rem, 5vw, 4rem); text-align: center;
  /* padding-top is set by the floating-header clearance rule above */
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: var(--teal-darker); }
.page-hero p { color: var(--muted); max-width: 60ch; margin: 0 auto; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }

/* category filter pills */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.2rem; }
.pill { border: 1px solid var(--teal); background: #fff; color: var(--teal-dark); border-radius: 50px;
  padding: .5rem 1.1rem; font-size: .9rem; font-weight: 600; cursor: pointer; transition: .2s; }
.pill:hover, .pill.active { background: var(--teal); color: #fff; }

.cat-block { margin-bottom: 3rem; }
.cat-block h2 { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.4rem; }
.cat-block h2 .bar { width: 6px; height: 28px; border-radius: 4px; background: var(--teal); }

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Product detail page
   ============================================================ */
.product-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; margin-bottom: 3rem; }
.pd-image {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 1rem; display: grid; place-items: center;
}
.pd-image img { width: 100%; max-height: 480px; object-fit: contain; border-radius: 8px; }

/* hover-to-pan zoom */
.pd-image { position: relative; overflow: hidden; }
.pd-image.pd-zoomable { cursor: zoom-in; }
.pd-image.pd-zoomable img { transition: transform .15s ease; will-change: transform; }
.pd-image.pd-zoomable.zooming img { transform: scale(2.2); }
.pd-zoom-hint {
  position: absolute; left: 50%; bottom: .7rem; transform: translateX(-50%);
  background: rgba(0,0,0,.62); color: #fff; font-size: .72rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: 999px; pointer-events: none;
  white-space: nowrap; transition: opacity .2s ease; opacity: .9;
}
.pd-image.zooming .pd-zoom-hint { opacity: 0; }

/* fullscreen lightbox */
.pd-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: none; place-items: center; padding: 2rem;
  background: rgba(8, 20, 26, .9); backdrop-filter: blur(4px);
}
.pd-lightbox.open { display: grid; animation: pdFade .2s ease; }
.pd-lightbox img {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5);
  cursor: zoom-in; transition: transform .25s ease;
}
.pd-lightbox img.zoomed { transform: scale(1.8); cursor: zoom-out; }
.pd-lightbox__close {
  position: absolute; top: 1rem; right: 1.2rem;
  width: 44px; height: 44px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff; font-size: 1.8rem; line-height: 1;
  cursor: pointer; transition: background .2s ease;
}
.pd-lightbox__close:hover { background: rgba(255,255,255,.3); }
@keyframes pdFade { from { opacity: 0; } to { opacity: 1; } }

.pd-info h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: .6rem 0 .4rem; }
.pd-tagline { font-size: 1.1rem; color: var(--teal-deep); font-weight: 600; }
.pd-info p { color: var(--ink); }
.pd-application {
  background: var(--wash-soft); border-left: 4px solid var(--teal); border-radius: 10px;
  padding: .9rem 1.1rem; margin: 1.2rem 0;
}
.pd-application b { color: var(--teal-dark); display: block; margin-bottom: .2rem; }
.pd-application p { margin: 0; color: var(--muted); }
.pd-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.6rem; }

.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.pd-panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 1.8rem;
}
.pd-panel h2 { font-size: 1.3rem; margin-bottom: 1rem; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: .7rem .2rem; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.spec-table th { color: var(--teal-dark); width: 42%; font-weight: 600; }
.spec-table td { color: var(--muted); }
.pd-note { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; }

/* ============================================================
   Extra homepage sections
   ============================================================ */
/* Brand / partner strip */
.brands { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.brand-chip {
  background: #fff; border: 1px solid var(--line); border-radius: 50px; box-shadow: var(--shadow-sm);
  padding: .7rem 1.5rem; font-weight: 700; color: var(--teal-dark); letter-spacing: .03em;
}
/* How it works steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm); position: relative;
}
.step .num {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  color: #fff; background: linear-gradient(140deg, var(--teal), var(--teal-deep)); margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.step p { color: var(--muted); font-size: .92rem; margin: 0; }
/* Testimonials */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem;
}
.quote-card .stars { color: var(--accent); letter-spacing: .15em; }
.quote-card p { color: var(--ink); font-style: italic; margin: 0; }
.quote-card .who { display: flex; align-items: center; gap: .7rem; margin-top: auto; }
.quote-card .avatar {
  width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(140deg, var(--teal), var(--teal-deep));
  color: #fff; display: grid; place-items: center; font-weight: 700;
}
.quote-card .who b { color: var(--teal-dark); display: block; font-size: .95rem; font-style: normal; }
.quote-card .who span { color: var(--muted); font-size: .85rem; }
.swipe-hint { display: none; text-align: center; color: var(--muted); font-size: .82rem; margin: .6rem 0 0; letter-spacing: .04em; }
/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: .8rem; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.3rem; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--teal-dark); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--muted); }
/* Stats band */
.stats-band { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); border-radius: 22px; color: #fff; padding: 2.6rem; box-shadow: var(--shadow-lg); }
.stats-band .grid-4 { gap: 1rem; }
.stat-box { text-align: center; }
.stat-box b { display: block; font-size: 2.4rem; line-height: 1; }
.stat-box span { font-size: .9rem; color: rgba(255,255,255,.85); }

/* ============================================================
   Rich animations
   ============================================================ */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes bob    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes blob {
  0%   { transform: translate(0,0) scale(1); }
  33%  { transform: translate(24px,-18px) scale(1.1); }
  66%  { transform: translate(-18px,12px) scale(.94); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes fadeUp   { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(27,154,166,.45); }
  70%  { box-shadow: 0 0 0 16px rgba(27,154,166,0); }
  100% { box-shadow: 0 0 0 0 rgba(27,154,166,0); }
}

/* hero decorative animated blobs */
.hero { position: relative; }
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(46px);
  opacity: .55; z-index: 0; pointer-events: none;
}
.hero::before { width: 320px; height: 320px; top: -90px; left: -70px;
  background: radial-gradient(circle, #84d3d9, transparent 70%); animation: blob 16s ease-in-out infinite; }
.hero::after  { width: 400px; height: 400px; bottom: -140px; right: -90px;
  background: radial-gradient(circle, #c4e9ec, transparent 70%); animation: blob 22s ease-in-out infinite reverse; }
.hero .container { position: relative; z-index: 1; }

/* floating logo badge + bobbing chips */
.hero-badge { animation: floaty 6.5s ease-in-out infinite; }
.hero-badge::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px dashed rgba(27,154,166,.25); animation: spinSlow 40s linear infinite;
}
.hero-float { animation: bob 4.5s ease-in-out infinite; }
.hero-float.f2 { animation-delay: 1.3s; }
.hero-float .dot { animation: pulseRing 2.4s ease-out infinite; }

/* hero copy: staggered entrance on load */
.hero-copy > * { opacity: 0; animation: fadeUp .7s cubic-bezier(.22,.61,.36,1) forwards; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .18s; }
.hero-copy > *:nth-child(3) { animation-delay: .31s; }
.hero-copy > *:nth-child(4) { animation-delay: .44s; }
.hero-copy > *:nth-child(5) { animation-delay: .57s; }

/* gradient-shift primary buttons */
.btn--primary {
  background: linear-gradient(120deg, var(--teal) 0%, var(--teal-deep) 55%, var(--teal) 100%);
  background-size: 220% 100%; background-position: 0 0;
  transition: background-position .5s ease, transform .22s ease, box-shadow .22s ease;
}
.btn--primary:hover { background-position: 100% 0; }

/* feature icon micro-interaction */
.feature .ic { transition: transform .3s ease; }
.feature:hover .ic { transform: scale(1.1) rotate(-4deg); }

/* category / product image zoom on hover */
.cat-card .thumb img { transition: transform .5s ease; }
.cat-card:hover .thumb img { transform: scale(1.06); }

/* step number pulse on hover */
.step .num { transition: transform .3s ease; }
.step:hover .num { transform: scale(1.12); }

/* brand chips lift */
.brand-chip { transition: transform .25s ease, box-shadow .25s ease, color .25s ease; }
.brand-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--teal); }

/* header reacts to scroll — deepen the floating pill's shadow */
.site-header.scrolled .nav {
  background: rgba(255,255,255,.95);
  box-shadow: 0 18px 44px rgba(21,97,107,.22), 0 3px 8px rgba(21,97,107,.08);
}

/* count-up emphasis */
.counting { font-variant-numeric: tabular-nums; }

/* ---- Parallax mission band ---- */
.parallax {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; text-align: center; color: #fff;
  padding: clamp(5.5rem, 12vw, 9rem) 0;
  background: linear-gradient(135deg, var(--teal-darker), var(--teal-dark) 55%, var(--teal));
}
/* moving dotted texture layer */
.parallax-bg {
  position: absolute; inset: -35% 0; z-index: 0; will-change: transform; opacity: 1;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.35) 2px, transparent 0),
    repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.08) 46px 48px);
  background-size: 30px 30px, 48px 48px;
}
/* large logo watermark — slower, clearly visible layer */
.parallax-logo {
  position: absolute; inset: -40% -10%; z-index: 0; will-change: transform; opacity: .22;
  background: url("../img/logo.jpeg") center / clamp(340px, 46vw, 640px) no-repeat;
}
/* floating orbs at different depths */
.parallax::before, .parallax::after {
  content: ""; position: absolute; z-index: 0; border-radius: 50%; will-change: transform;
  filter: blur(8px); pointer-events: none;
}
.parallax::before { width: 200px; height: 200px; top: 8%; left: 6%;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 70%);
  animation: blob 12s ease-in-out infinite; }
.parallax::after  { width: 280px; height: 280px; bottom: 4%; right: 8%;
  background: radial-gradient(circle, rgba(132,211,217,.4), transparent 70%);
  animation: blob 16s ease-in-out infinite reverse; }
.parallax-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 50%, transparent 35%, rgba(14,74,82,.6) 100%);
}
.parallax-content { position: relative; z-index: 2; max-width: 760px; }
.parallax-content h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
.parallax-content p { color: rgba(255,255,255,.9); font-size: 1.08rem; margin: 0 auto 1.6rem; max-width: 56ch; }

/* respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero-copy > * { opacity: 1 !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
/* ---- Tablet / small laptop ---- */
@media (max-width: 960px) {
  .hero-grid, .split, .contact-grid, .product-detail, .pd-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 1.5rem; padding-top: calc(var(--header-h) + 3rem); }
  .hero-visual { order: -1; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-badge { width: min(320px, 70%); }
}

/* ---- Mobile ---- */
@media (max-width: 720px) {
  /* hamburger nav */
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; gap: 0;
    background: rgba(255,255,255,.97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.75); border-radius: 16px; padding: .35rem 1.1rem;
    box-shadow: 0 16px 40px rgba(21,97,107,.18); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: .95rem 0; font-size: 1.02rem; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }

  /* single-column stacks */
  .grid-4, .values { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: .9rem; }   /* cards 2-up */
  /* testimonials become a swipeable horizontal slider */
  #testimonials .grid-3 {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: .25rem .25rem 1rem;
    scroll-padding-left: .25rem;
  }
  #testimonials .grid-3::-webkit-scrollbar { display: none; }
  #testimonials .quote-card {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }
  .swipe-hint { display: block; }
  .stats-band .grid-4 { grid-template-columns: 1fr 1fr; }   /* keep stats 2x2 */
  .steps { grid-template-columns: 1fr 1fr; }                /* keep steps 2x2 */
  /* compact cards for 2-up */
  .cat-card .body { padding: .8rem .85rem 1rem; }
  .cat-card h3 { font-size: .98rem; }
  .cat-card p { font-size: .82rem; }
  .cat-card .tag { font-size: .62rem; padding: .2rem .5rem; margin-bottom: .45rem; }
  .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-float { display: none; }

  /* floating header is a touch smaller on mobile */
  :root { --header-h: 88px; }
  .site-header { padding-top: 18px; }
  /* tighter vertical rhythm */
  .section { padding: 2.6rem 0; }
  .hero-grid { padding: calc(var(--header-h) + 2.25rem) 0 1.5rem; }
  .page-hero { padding-top: calc(var(--header-h) + 2.5rem); }
  .hero-badge { width: min(260px, 64%); border-width: 7px; }
  .hero-stats { gap: 1.4rem 1.8rem; margin-top: 1.6rem; }
  .hero-actions .btn, .cta-actions .btn, .pd-actions .btn { flex: 1 1 auto; justify-content: center; }

  /* trust strip: centred, even */
  .trust .container { justify-content: center; text-align: center; gap: .6rem 1.2rem; padding: 1.1rem 0; }
  .trust-item { font-size: .9rem; }

  /* stats / cards padding */
  .stats-band { padding: 2rem 1.4rem; }
  .stat-box b { font-size: 2rem; }
  .feature, .pd-panel, .quote-card, .step { padding: 1.4rem; }
  .cta-band { padding: 2rem 1.4rem; }
  .brand-chip { padding: .6rem 1.1rem; font-size: .9rem; }
}

/* ---- Small phones ---- */
@media (max-width: 460px) {
  .container { width: min(100% - 2rem, var(--maxw)); }
  .brand-text strong { font-size: 1rem; }
  .brand-text span { font-size: .64rem; letter-spacing: .16em; }
  .brand img { width: 46px; height: 46px; }
  .hero-stats { gap: 1rem 1.4rem; }
  .hero-stats .stat strong { font-size: 1.45rem; }
  .pd-image img { max-height: 320px; }
  .stats-band .grid-4 { grid-template-columns: 1fr 1fr; }   /* keep 2x2 stats */
  .filters { gap: .45rem; }
  .pill { padding: .45rem .9rem; font-size: .85rem; }
}
