/* ==========================================================
   Bullion Surgical Ltd — main stylesheet (v2)
   Brand: navy #0B2D62, teal #13B3B3
   ========================================================== */

:root {
  --navy: #0b2d62;
  --navy-deep: #06193a;
  --teal: #13b3b3;
  --teal-dark: #0a8586;
  --teal-tint: #e7f6f6;
  --wa: #25d366;

  --ink: #0f1b2d;
  --body: #44526a;
  --muted: #6b7890;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --line: #e2e8ef;

  --radius: 6px;
  --radius-lg: 10px;
  --max: 1240px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .06), 0 8px 24px rgba(15, 27, 45, .06);
  --shadow-lg: 0 20px 50px rgba(15, 27, 45, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Archivo", "Inter", system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
  color: var(--body); background: var(--bg); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--teal); color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 28px; } }

.icon { width: 1.2em; height: 1.2em; display: inline-flex; flex-shrink: 0; }
.icon svg { width: 100%; height: 100%; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; }

/* small label above section titles: plain text with a line, no pill */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark);
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--teal); }
.lead { font-size: 1.1rem; color: var(--body); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.6em; border-radius: var(--radius); border: 2px solid transparent;
  font: 600 .96rem/1.2 var(--font); cursor: pointer; text-align: center; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-dark); color: #fff; box-shadow: 0 10px 24px rgba(19, 179, 179, .35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--teal); color: #fff; }
.btn-line { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-line:hover { background: #fff; color: var(--navy); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5b; color: #fff; }
.btn-sm { padding: .6em 1.1em; font-size: .88rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #b9c8de; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--teal); }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { color: var(--teal); }
.topbar .tb-group { display: flex; gap: 22px; align-items: center; }
@media (max-width: 860px) { .topbar .hide-md { display: none; } }
@media (max-width: 560px) { .topbar .hide-sm { display: none; } .topbar .container { justify-content: center; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 27, 45, .1); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; transition: height .3s var(--ease); }
.site-header.scrolled .bar { height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); flex-shrink: 0; }
.brand img { width: 54px; height: 54px; border-radius: 50%; transition: width .3s, height .3s; }
.site-header.scrolled .brand img { width: 44px; height: 44px; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; line-height: 1; color: var(--navy); letter-spacing: .02em; }
.brand-text small { display: block; margin-top: 4px; font-weight: 600; font-size: .7rem; letter-spacing: .22em; color: var(--teal-dark); }

.nav { display: flex; align-items: center; gap: 2px; height: 100%; }
.nav > a, .nav .has-mega > button {
  display: inline-flex; align-items: center; gap: 4px; height: 100%; padding: 0 14px;
  color: var(--ink); font: 500 .97rem var(--font); background: none; border: 0; cursor: pointer; position: relative;
}
.nav > a::after, .nav .has-mega > button::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-header.scrolled .nav > a::after, .site-header.scrolled .nav .has-mega > button::after { bottom: 16px; }
.nav > a:hover::after, .nav > a[aria-current="page"]::after,
.nav .has-mega:hover > button::after, .nav .has-mega > button[aria-current="page"]::after { transform: scaleX(1); }
.nav > a[aria-current="page"], .nav .has-mega > button[aria-current="page"] { color: var(--teal-dark); }
.nav .chev { width: 14px; height: 14px; transition: transform .25s; }
.has-mega { position: static; height: 100%; display: flex; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 24px 40px rgba(15, 27, 45, .12); padding: 28px 0 32px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease);
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 10px 28px; }
.mega-link { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: var(--radius); color: var(--ink); }
.mega-link img { width: 64px; height: 48px; object-fit: cover; border-radius: 4px; transition: transform .3s var(--ease); }
.mega-link strong { display: block; font-family: var(--font-head); font-size: .98rem; }
.mega-link span { font-size: .82rem; color: var(--muted); }
.mega-link:hover { background: var(--bg-alt); color: var(--ink); }
.mega-link:hover img { transform: scale(1.06); }
.mega-promo {
  grid-column: 4; grid-row: 1 / span 3; border-radius: var(--radius-lg); overflow: hidden; position: relative; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; min-height: 220px;
}
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-promo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 25, 58, .92), rgba(6, 25, 58, .2)); z-index: 1; }
.mega-promo > *:not(img) { position: relative; z-index: 2; }
.mega-promo h4 { color: #fff; font-size: 1.15rem; margin-bottom: .3em; }
.mega-promo p { font-size: .88rem; color: #d5e0ef; margin-bottom: 14px; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.call-block { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.call-block .ring { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-tint); color: var(--teal-dark); }
.call-block small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.2; }
.call-block strong { font-family: var(--font-head); font-size: 1rem; line-height: 1.2; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); cursor: pointer; padding: 11px; }

@media (max-width: 1180px) { .call-block { display: none; } }
@media (max-width: 1020px) {
  .menu-toggle { display: block; }
  .header-cta .btn { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h, 124px); bottom: 0; height: auto;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 16px 28px; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease); visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav > a, .nav .has-mega > button { height: auto; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; width: 100%; justify-content: space-between; }
  .nav > a::after, .nav .has-mega > button::after { display: none; }
  .has-mega { flex-direction: column; height: auto; }
  .has-mega.open .chev { transform: rotate(180deg); }
  .mega { position: static; box-shadow: none; border: 0; padding: 6px 0 10px; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-mega:hover .mega, .has-mega:focus-within .mega { display: none; }
  .has-mega.open .mega { display: block; }
  .mega .container { padding: 0; }
  .mega-grid { grid-template-columns: 1fr; gap: 2px; }
  .mega-promo { display: none; }
  .nav .mobile-actions { display: grid; gap: 10px; margin-top: 20px; }
}
@media (min-width: 1021px) { .nav .mobile-actions { display: none; } }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: min(88vh, 760px); min-height: 560px; background: var(--navy-deep); overflow: hidden; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slide.active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.slide.active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 25, 58, .92) 0%, rgba(6, 25, 58, .72) 42%, rgba(6, 25, 58, .15) 80%),
              linear-gradient(to top, rgba(6, 25, 58, .6), transparent 40%);
}
.hero-content { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; padding-top: 0; padding-bottom: 70px; }
.hero-text { max-width: 640px; }
.hero-text .kicker { color: var(--teal); }
.hero h1 { color: #fff; }
.hero h1 .hl { color: var(--teal); }
.hero .lead { color: #d3dfef; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.slide-caption { display: grid; }
.slide-caption > div { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s var(--ease); pointer-events: none; }
.slide-caption > div.active { opacity: 1; transform: none; transition-delay: .35s; pointer-events: auto; }

.hero-controls { position: absolute; z-index: 4; left: 0; right: 0; bottom: 104px; }
.hero-controls .container { display: flex; align-items: center; gap: 18px; }
.dots { display: flex; gap: 10px; }
.dot { width: 54px; height: 3px; background: rgba(255, 255, 255, .3); border: 0; padding: 0; cursor: pointer; position: relative; overflow: hidden; }
.dot span { position: absolute; inset: 0; background: var(--teal); transform: scaleX(0); transform-origin: left; }
.dot.active span { animation: progress var(--slide-ms, 7000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.slide-label { font-size: .85rem; color: #c3d1e4; letter-spacing: .04em; }
.arrows { margin-left: auto; display: flex; gap: 8px; }
.arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; cursor: pointer; padding: 11px; transition: .25s; }
.arrows button:hover { background: #fff; color: var(--navy); }
@media (max-width: 700px) {
  .hero { height: auto; min-height: 0; }
  .hero-content { padding-top: 64px; padding-bottom: 150px; }
  .hero::after { background: linear-gradient(180deg, rgba(6, 25, 58, .75), rgba(6, 25, 58, .92)); }
  .hero-controls { bottom: 92px; }
  .arrows { display: none; }
  .dot { width: 36px; }
}

/* search panel overlapping the hero */
.hero-search { position: relative; z-index: 5; margin-top: -64px; }
.search-panel {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 18px 18px 18px 26px;
}
.search-panel .sp-label { font-family: var(--font-head); font-weight: 700; color: var(--ink); line-height: 1.25; }
.search-panel .sp-label small { display: block; font-family: var(--font); font-weight: 400; color: var(--muted); font-size: .84rem; }
.search-panel form { display: flex; gap: 10px; }
.search-field { position: relative; flex: 1; }
.search-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-field input {
  width: 100%; height: 52px; padding: 0 16px 0 44px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: var(--bg-alt); transition: border-color .2s, background .2s;
}
.search-field input:focus { outline: none; border-color: var(--teal); background: #fff; }
.search-panel .quick { display: flex; gap: 8px; flex-wrap: wrap; font-size: .84rem; }
.search-panel .quick a { color: var(--body); border-bottom: 1px dashed var(--line); }
.search-panel .quick a:hover { color: var(--teal-dark); border-color: var(--teal); }
@media (max-width: 960px) { .search-panel { grid-template-columns: 1fr; padding: 20px; gap: 12px; } .search-panel .quick { display: none; } }
@media (max-width: 480px) { .search-panel form { flex-direction: column; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--navy); color: #fff; overflow: hidden; padding: 16px 0; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 0; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: .02em; }
.ticker-track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-sm { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head > div { max-width: 640px; }
.section-head h2 { margin-bottom: .3em; }
.section-head p { margin: 0; color: var(--muted); }
@media (max-width: 700px) { .section { padding: 64px 0; } .section-sm { padding: 48px 0; } .section-head { margin-bottom: 30px; } }

/* ---------- Category bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 16px; }
.bento .tile:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
  .bento .tile:nth-child(1) { grid-row: span 1; }
}
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; grid-auto-rows: 200px; } .bento .tile:nth-child(1) { grid-column: span 1; } }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff; display: flex; align-items: flex-end; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 25, 58, .9) 0%, rgba(6, 25, 58, .35) 50%, rgba(6, 25, 58, .05) 100%); transition: background .4s; }
.tile:hover img { transform: scale(1.08); }
.tile:hover::before { background: linear-gradient(to top, rgba(10, 133, 134, .92) 0%, rgba(6, 25, 58, .35) 65%, rgba(6, 25, 58, .05) 100%); }
.tile-body { padding: 22px; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tile h3 { color: #fff; margin: 0 0 4px; font-size: 1.2rem; }
.tile .tile-meta { font-size: .85rem; color: #d3dfef; }
.tile .go { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .15); display: grid; place-items: center; flex-shrink: 0; transition: .3s var(--ease); backdrop-filter: blur(4px); }
.tile .go .icon { width: 18px; height: 18px; }
.tile:hover .go { background: #fff; color: var(--teal-dark); transform: rotate(-45deg); }
.tile:nth-child(1) h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.tile:nth-child(1) .tile-desc { display: block; max-width: 420px; color: #d3dfef; font-size: .95rem; margin-top: 6px; }
.tile-desc { display: none; }

/* ---------- Split / media ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 44px; } .split.reverse .split-media { order: 0; } }
.split-media { position: relative; }
.split-media .main { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
.split-media .inset {
  position: absolute; right: -28px; bottom: -36px; width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius-lg); border: 8px solid #fff; box-shadow: var(--shadow-lg);
}
.split-media::before { content: ""; position: absolute; left: -22px; top: -22px; width: 44%; height: 50%; background: var(--teal-tint); border-radius: var(--radius-lg); z-index: -1; }
.split-media .badge {
  position: absolute; left: 22px; bottom: 22px; background: #fff; border-radius: var(--radius); padding: 14px 18px;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 260px;
}
.split-media .badge .ring { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.split-media .badge strong { display: block; font-family: var(--font-head); color: var(--ink); line-height: 1.2; }
.split-media .badge span { font-size: .82rem; color: var(--muted); }
@media (max-width: 600px) { .split-media .inset { right: -6px; bottom: -24px; width: 42%; border-width: 5px; } .split-media::before { left: -10px; top: -10px; } }

.num-list { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; gap: 22px; counter-reset: n; }
.num-list li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; counter-increment: n; }
.num-list li::before {
  content: "0" counter(n); font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; color: var(--teal-dark);
  width: 52px; height: 52px; border: 1.5px solid var(--teal); border-radius: 50%; display: grid; place-items: center;
}
.num-list h3 { margin-bottom: .2em; font-size: 1.08rem; }
.num-list p { margin: 0; font-size: .96rem; }

.ticks { list-style: none; padding: 0; margin: 0 0 1.6em; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--teal); margin-top: 4px; width: 18px; height: 18px; }

/* ---------- Services strip (photo cards) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { background: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; display: flex; flex-direction: column; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-img { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.06); }
.svc-body { padding: 24px 24px 26px; }
.svc-body h3 { margin-bottom: .35em; }
.svc-body p { margin: 0; font-size: .96rem; }

.plain-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 900px) { .plain-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .plain-cards { grid-template-columns: 1fr; } }
.plain-card { background: #fff; padding: 32px 28px; transition: background .3s; }
.plain-card:hover { background: var(--teal-tint); }
.plain-card .icon { width: 34px; height: 34px; color: var(--teal-dark); margin-bottom: 18px; }
.plain-card h3 { margin-bottom: .35em; }
.plain-card p { margin: 0; font-size: .96rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 16px); opacity: .5; }
.step { position: relative; counter-increment: s; }
.step::before {
  content: counter(s); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff; font: 800 1.2rem var(--font-head); margin-bottom: 20px; position: relative;
  box-shadow: 0 0 0 8px var(--bg-alt);
}
.section:not(.section-alt) .step::before { box-shadow: 0 0 0 8px #fff; }
.step h3 { font-size: 1.08rem; margin-bottom: .3em; }
.step p { margin: 0; font-size: .95rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Visit / location ---------- */
.visit { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); color: #c9d6e8; }
.visit-photo { position: relative; min-height: 420px; }
.visit-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.visit-body { padding: 52px 48px; }
.visit-body h2 { color: #fff; }
.visit-body .kicker { color: var(--teal); }
.visit-list { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; gap: 16px; }
.visit-list li { display: flex; gap: 14px; }
.visit-list .icon { color: var(--teal); margin-top: 3px; }
.visit-list strong { color: #fff; display: block; font-family: var(--font-head); }
.visit-list a { color: #fff; }
.visit-list a:hover { color: var(--teal); }
@media (max-width: 900px) { .visit { grid-template-columns: 1fr; } .visit-photo { min-height: 260px; } .visit-body { padding: 36px 24px; } }

/* ---------- CTA with photo ---------- */
.cta-photo { position: relative; overflow: hidden; color: #fff; padding: 110px 0; isolation: isolate; }
.cta-photo .bg { position: absolute; inset: -15% 0; z-index: -2; }
.cta-photo .bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 25, 58, .94), rgba(11, 45, 98, .78) 55%, rgba(10, 133, 134, .6)); }
.cta-photo .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta-photo h2 { color: #fff; max-width: 620px; }
.cta-photo p { color: #d3dfef; margin: 0; max-width: 560px; }
.cta-photo .actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 700px) { .cta-photo { padding: 72px 0; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; padding: 110px 0 84px; overflow: hidden; isolation: isolate; background: var(--navy-deep); }
.page-hero .bg { position: absolute; inset: -15% 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 25, 58, .94) 0%, rgba(6, 25, 58, .75) 55%, rgba(6, 25, 58, .4)); }
.page-hero h1 { color: #fff; margin-bottom: .25em; }
.page-hero p { color: #d3dfef; max-width: 640px; margin: 0; font-size: 1.08rem; }
.breadcrumb { font-size: .88rem; color: #9fb4d1; margin-bottom: 16px; display: flex; gap: 8px; }
.breadcrumb a { color: var(--teal); }
@media (max-width: 700px) { .page-hero { padding: 72px 0 56px; } }

/* ---------- Products page ---------- */
.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 44px; align-items: start; }
.catalog > * { min-width: 0; }
@media (max-width: 960px) { .catalog { grid-template-columns: 1fr; gap: 24px; } }
.cat-side { position: sticky; top: 92px; }
.cat-side h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 12px; font-family: var(--font); font-weight: 600; }
.cat-nav { display: grid; gap: 2px; }
.cat-nav button {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; text-align: left; width: 100%;
  padding: 11px 14px; border: 0; border-left: 3px solid transparent; background: none; color: var(--ink);
  font: 500 .95rem var(--font); cursor: pointer; border-radius: 0 var(--radius) var(--radius) 0; transition: .2s;
}
.cat-nav button span { font-size: .8rem; color: var(--muted); }
.cat-nav button:hover { background: var(--bg-alt); }
.cat-nav button.active { border-left-color: var(--teal); background: var(--teal-tint); color: var(--teal-dark); font-weight: 600; }
.side-help { margin-top: 24px; padding: 22px; border-radius: var(--radius-lg); background: var(--navy); color: #c9d6e8; font-size: .92rem; }
.side-help strong { color: #fff; font-family: var(--font-head); display: block; font-size: 1.05rem; margin-bottom: 6px; }
.side-help .btn { margin-top: 14px; width: 100%; }
@media (max-width: 960px) {
  .cat-side { position: static; }
  .cat-side h4, .side-help { display: none; }
  .cat-nav { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; }
  .cat-nav::-webkit-scrollbar { display: none; }
  .cat-nav button { flex-shrink: 0; width: auto; border: 1px solid var(--line); border-radius: var(--radius); white-space: nowrap; }
  .cat-nav button.active { border-color: var(--teal); }
}
.catalog-top { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 26px; }
.catalog-top .search-field { max-width: 420px; min-width: 240px; }
.result-count { color: var(--muted); font-size: .92rem; margin: 0; }

.cat-block { margin-bottom: 56px; }
.cat-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 190px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; margin-bottom: 18px; }
.cat-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cat-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 25, 58, .92), rgba(6, 25, 58, .35)); }
.cat-banner div { padding: 26px 28px; max-width: 560px; }
.cat-banner h2 { color: #fff; font-size: 1.6rem; margin-bottom: .2em; }
.cat-banner p { margin: 0; color: #d3dfef; font-size: .95rem; }
.item-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 680px) { .item-grid { grid-template-columns: 1fr; } }
.item {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.item:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }
.item h3 { font-size: 1.02rem; margin-bottom: .2em; }
.item p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.item-actions { display: flex; gap: 6px; flex-shrink: 0; }
.item-actions .btn-wa { width: 40px; padding: 0; height: 40px; }
.item-actions .btn-primary { height: 40px; }
@media (max-width: 420px) { .item { flex-direction: column; align-items: stretch; } .item-actions .btn-primary { flex: 1; } }
.empty-state { text-align: center; padding: 56px 16px; border: 1px dashed var(--line); border-radius: var(--radius-lg); }

/* featured products (home) */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feat-img { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feat:hover .feat-img img { transform: scale(1.07); }
.feat-tag { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .95); color: var(--navy); font-size: .74rem; font-weight: 600; padding: 5px 10px; border-radius: 4px; }
.feat-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.feat-body h3 { font-size: 1.04rem; margin-bottom: .3em; }
.feat-body p { font-size: .9rem; color: var(--muted); margin-bottom: 16px; flex: 1; }
.feat-body .link { font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.feat-body .link:hover .icon { transform: translateX(4px); }
.feat-body .link .icon { transition: transform .25s var(--ease); width: 16px; height: 16px; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .form-card { padding: 24px 18px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field .req { color: #d14343; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; color: var(--ink); background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.hp { position: absolute; left: -9999px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.form-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.alert { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 500; display: none; }
.alert.show { display: block; animation: fadeUp .4s var(--ease); }
.alert-success { background: #e4f7ec; color: #11633a; border: 1px solid #b4e5c9; }
.alert-error { background: #fdecec; color: #982323; border: 1px solid #f3c0c0; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.aside-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); color: #c9d6e8; }
.aside-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.aside-card .inner { padding: 28px; }
.aside-card h3 { color: #fff; font-size: 1.3rem; }
.aside-card a:not(.btn) { color: #fff; }
.aside-card a:not(.btn):hover { color: var(--teal); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 48px; }
@media (max-width: 1000px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }
.c-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal); }
.c-card .icon { width: 30px; height: 30px; color: var(--teal-dark); margin-bottom: 14px; }
.c-card h3 { font-size: 1.05rem; margin-bottom: .3em; }
.c-card p { margin: 0; font-size: .95rem; }
.c-card a { color: var(--ink); font-weight: 600; }
.c-card a:hover { color: var(--teal-dark); }
.map { border: 0; width: 100%; height: 460px; border-radius: var(--radius-lg); display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #9fb0c8; font-size: .94rem; }
.footer-top { padding: 72px 0 52px; display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.4fr; gap: 40px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; } }
.site-footer .brand-text { color: #fff; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1.1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: #9fb0c8; }
.site-footer a:hover { color: var(--teal); }
.f-line { display: flex; gap: 10px; align-items: flex-start; }
.f-line .icon { color: var(--teal); margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 150; display: flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; border-radius: 999px; padding: 0 20px 0 14px; height: 56px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, .45); font-weight: 600; transition: transform .25s var(--ease);
}
.wa-float:hover { color: #fff; transform: translateY(-3px); }
.wa-float .icon { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.35); } }
@media (max-width: 600px) { .wa-float { padding: 0; width: 56px; justify-content: center; } .wa-float .wa-text { display: none; } }

.to-top {
  position: fixed; right: 22px; bottom: 88px; z-index: 140; width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 0; cursor: pointer; padding: 13px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--teal); }

/* ---------- 404 ---------- */
.notfound { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 80px 16px; }
.notfound .big { font: 800 clamp(5rem, 18vw, 10rem)/1 var(--font-head); color: var(--teal); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.from-left { transform: translateX(-36px); }
.js .reveal.from-right { transform: translateX(36px); }
.js .reveal.zoom { transform: scale(.94); }
.js .reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}
