/* Sifla Healthcare: site styles (Bootstrap 5 + this file)
   Brand colours, type and corner sizes are set in :root. Change them here to re-theme. */

:root {
  --ink: #111315;
  --ink-2: #1c1f22;
  --ink-line: #2c3034;
  --accent: #e6cb8a;        /* logo gold: fills, and anything on a dark background */
  --accent-strong: #c8a24f; /* gold lines and arcs on white */
  --accent-deep: #7a5c1e;   /* gold text on white and on grey */
  --white: #ffffff;
  --light: #f4f4f2;
  --panel: #e6e6e3;
  --line: #dcdcd8;
  --text: #1f2225;
  --muted: #565a5f;
  --muted-dark: #b4b6b7;
  --on-dark: #e6e6e3;

  --font-head: "Archivo", "Segoe UI", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius: 6px;
  --radius-card: 24px;
  --radius-arc: 72px;
  --radius-pill: 999px;
  --header-h: 80px;
  --container-inner: 100%;
}
@media (min-width: 576px) { :root { --container-inner: 516px; } }
@media (min-width: 768px) { :root { --container-inner: 696px; } }
@media (min-width: 992px) { :root { --container-inner: 936px; } }
@media (min-width: 1200px) { :root { --container-inner: 1116px; } }
@media (min-width: 1400px) { :root { --container-inner: 1296px; } }
@media (max-width: 767.98px) { :root { --radius-arc: 48px; --radius-card: 18px; --header-h: 68px; } }

/* Base */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-family: var(--font-body); color: var(--text); background: var(--white); font-size: 1.1rem; line-height: 1.65; overflow-x: clip; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 7vw, 6rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.25rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; text-wrap: balance; }
h3 { font-size: 1.4rem; }
img { max-width: 100%; display: block; }
a { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent-strong); outline-offset: 3px; }

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-sm { padding: clamp(3rem, 5vw, 4rem) 0; }
.bg-light-c { background: var(--light); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--white); }
.text-muted-c { color: var(--muted); }
.bg-ink .text-muted-c { color: var(--muted-dark); }
.section-head { max-width: 820px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.18rem; margin: 1rem auto 0; max-width: 40rem; }
.bg-ink .section-head p { color: var(--muted-dark); }
.title-heavy { font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; line-height: 1.02; font-size: clamp(2.4rem, 5vw, 4.5rem); }
.lead-c { font-size: 1.2rem; color: var(--muted); }

/* Buttons */
.btn-c {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.6rem; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; text-decoration: none; border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-c svg { width: 17px; height: 17px; }
.btn-dark-c { background: var(--ink); color: var(--white); }
.btn-dark-c:hover { background: var(--ink-2); color: var(--accent); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--white); color: var(--ink); }
.btn-outline-light-c { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-outline-light-c:hover { background: var(--white); color: var(--ink); }
.btn-outline-c { border-color: var(--ink); color: var(--ink); }
.btn-outline-c:hover { background: var(--ink); color: var(--white); }
.btn-wa { background: #1e8e4d; color: var(--white); }
.btn-wa:hover { background: #17733e; color: var(--white); }

/* Header: transparent over the hero, solid white once the page scrolls */
.site-header { position: fixed; inset: 0 0 auto; z-index: 1030; color: var(--white); transition: background .25s, color .25s, box-shadow .25s; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(10, 11, 12, .7), rgba(10, 11, 12, 0)); pointer-events: none; transition: opacity .25s; }
.site-header.scrolled { background: var(--white); color: var(--ink); box-shadow: 0 8px 28px -18px rgba(0, 0, 0, .4); }
.site-header.scrolled::before { opacity: 0; }
.site-header.menu-open { z-index: 1050; }
.site-header .navbar { min-height: var(--header-h); padding: .5rem 0; }
.brand-logo { display: block; width: 104px; color: var(--accent); transition: color .25s; }
.brand-logo svg { width: 100%; height: auto; display: block; }
.site-header.scrolled .brand-logo { color: var(--ink); }
.site-header .navbar-nav .nav-link, .site-header .navbar-nav .nav-link.show { position: relative; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: inherit; padding: .5rem 1rem; }
.site-header .navbar-nav .nav-link.active { color: inherit; }
.site-header .navbar-nav .nav-link:hover { color: var(--accent); }
.site-header.scrolled .navbar-nav .nav-link:hover { color: var(--accent-deep); }
.site-header .nav-link.active::after { content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .1rem; height: 2px; background: var(--accent-strong); }
.site-header .dropdown-menu { border: 0; border-radius: 0 0 var(--radius-card) var(--radius-card); padding: .5rem; min-width: 260px; box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .45); }
.site-header .dropdown-item { font-weight: 500; padding: .6rem .9rem; border-radius: var(--radius); }
.site-header .dropdown-item:hover, .site-header .dropdown-item:focus { background: var(--light); color: var(--accent-deep); }
.navbar-toggler { width: 46px; height: 46px; padding: 0; display: grid; place-items: center; color: inherit; border: 1px solid currentColor; border-radius: var(--radius); }
.navbar-toggler svg { width: 24px; height: 24px; }
.navbar-toggler:focus { box-shadow: none; }
.menu-contact { display: none; }
@media (min-width: 992px) {
  .site-header .offcanvas { color: inherit; }
  .navbar-expand-lg .offcanvas .offcanvas-body { flex-grow: 1; align-items: center; }
}
@media (max-width: 991.98px) {
  .site-header .offcanvas { --bs-offcanvas-width: min(86vw, 360px); background: var(--white); color: var(--ink); }
  .site-header .offcanvas-header { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
  .site-header .offcanvas .brand-logo { color: var(--ink); }
  .site-header .offcanvas-body { display: flex; flex-direction: column; padding: 1rem 1.25rem 1.5rem; }
  .site-header .offcanvas-body .navbar-nav { width: 100%; margin-left: 0 !important; }
  .site-header .navbar-nav .nav-link { padding: .8rem 0; font-size: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .site-header .navbar-nav .nav-link:hover { color: var(--accent-deep); }
  .site-header .nav-link.active::after { display: none; }
  .site-header .navbar-nav .nav-link.active { color: var(--accent-deep); }
  .site-header .dropdown-menu { box-shadow: none; padding: .25rem 0 .5rem .75rem; }
  .site-header .offcanvas-body .btn-c { margin-top: 1.25rem; }
  .menu-contact { display: block; margin-top: 1.5rem; font-size: 1rem; }
  .menu-contact a { display: block; padding: .3rem 0; color: var(--ink); text-decoration: none; }
}

/* Home hero */
.hero { position: relative; min-height: min(100svh, 880px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; animation: hero-settle 1.8s cubic-bezier(.2, .7, .2, 1) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 12, .5) 0%, rgba(10, 11, 12, .46) 40%, rgba(10, 11, 12, .92) 100%); }
.hero .container { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 2rem); padding-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.hero-lede { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem 3rem; }
.hero-lede p { font-size: 1.22rem; color: var(--on-dark); max-width: 38rem; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero h1 { color: var(--white); font-weight: 800; text-transform: uppercase; letter-spacing: -.025em; line-height: .95; font-size: calc(var(--container-inner) / 10.3); margin: clamp(1.25rem, 3vw, 2.25rem) 0 0; white-space: nowrap; overflow: hidden; } /* sized to fill the container on one line */
.hero h1 span { display: inline-block; animation: hero-rise 1s .15s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes hero-settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes hero-rise { from { transform: translateY(105%); } to { transform: none; } }
@media (max-width: 767.98px) {
  .hero { min-height: min(100svh, 760px); }
  .hero h1 { font-size: 11.6vw; white-space: normal; }
  .hero h1 span { display: block; }
  .hero-lede p { font-size: 1.1rem; }
  .hero-actions { width: 100%; flex-wrap: nowrap; }
  .hero-actions .btn-c { flex: 1 1 0; padding-inline: .6rem; white-space: nowrap; }
}
@media (min-width: 576px) and (max-width: 767.98px) { .hero h1 { font-size: calc(var(--container-inner) / 7.4); } }

/* Inner page hero */
.page-banner { position: relative; min-height: clamp(420px, 64vh, 600px); display: flex; align-items: flex-end; color: var(--white); background: var(--ink); overflow: hidden; }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 12, .35), rgba(10, 11, 12, .88)); }
.page-banner .container { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 2rem); padding-bottom: clamp(2rem, 4vw, 3.25rem); }
.page-banner h1 { color: var(--white); margin: 0; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.page-banner p { color: var(--on-dark); font-size: 1.2rem; max-width: 42rem; margin: 1rem 0 0; }
.crumbs { font-size: 1rem; color: var(--on-dark); margin-bottom: .9rem; }
.crumbs a { color: var(--on-dark); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 .45rem; }

/* Images: one large corner, with a gold line following it */
.img-frame { border-radius: var(--radius); overflow: hidden; background: var(--light); }
.img-frame img, .img-frame video, .img-frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.ratio-4x5 { aspect-ratio: 4 / 5; }
.ratio-3x2 { aspect-ratio: 3 / 2; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-1 { aspect-ratio: 1; }
.ratio-16x9 { aspect-ratio: 16 / 9; }
.arc { position: relative; margin: 0 12px 12px 0; }
.arc::after { content: ""; position: absolute; right: -12px; bottom: -12px; width: 44%; height: 52%; border: solid var(--accent-strong); border-width: 0 6px 6px 0; border-bottom-right-radius: calc(var(--radius-arc) + 12px); pointer-events: none; }
.arc > .img-frame, .arc > .video-box, .arc > .map { border-radius: var(--radius) var(--radius) var(--radius-arc) var(--radius); }

/* Horizontal product rail */
.rail-section { overflow-x: clip; }
.rail-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.25rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.rail-head h2 { margin: 0; }
.rail-tools { display: flex; align-items: center; gap: .75rem; }
.rail-btn { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--ink); background: transparent; color: var(--ink); transition: background .2s, color .2s, opacity .2s; }
.rail-btn svg { width: 20px; height: 20px; }
.rail-btn:hover:not(:disabled) { background: var(--ink); color: var(--accent); }
.rail-btn:disabled { opacity: .3; cursor: default; }
.rail {
  --rail-gutter: max(1.25rem, calc((100% - var(--container-inner)) / 2));
  display: flex; gap: 1.5rem; overflow-x: auto; padding-inline: var(--rail-gutter); padding-block: 4px;
  scroll-padding-inline: var(--rail-gutter); scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail.dragging a { pointer-events: none; }
.rail-card { flex: 0 0 clamp(264px, 29vw, 392px); scroll-snap-align: start; display: flex; flex-direction: column; text-decoration: none; color: var(--text); background: var(--white); border-radius: var(--radius-card) var(--radius-card) var(--radius-arc) var(--radius-card); overflow: hidden; transition: box-shadow .25s; }
.rail-card:hover { color: var(--text); box-shadow: 0 22px 44px -30px rgba(0, 0, 0, .5); }
.rail-card .img { aspect-ratio: 1; overflow: hidden; background: var(--white); }
.rail-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; -webkit-user-drag: none; }
.rail-card:hover .img img { transform: scale(1.04); }
.rail-card .txt { flex: 1; display: flex; flex-direction: column; padding: 1.4rem 1.6rem 1.8rem; border-top: 1px solid var(--line); }
.rail-card .cat { font-size: 1rem; font-weight: 600; color: var(--accent-deep); }
.rail-card h3 { margin: .25rem 0 .45rem; font-size: 1.5rem; }
.rail-card p { color: var(--muted); margin: 0 0 1rem; }
.rail-card .more { margin-top: auto; font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent-strong); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.rail-track { position: relative; height: 3px; margin-top: clamp(1.75rem, 3vw, 2.5rem); background: var(--line); overflow: hidden; }
.rail-bar { position: absolute; inset: 0 auto 0 0; width: 40%; background: var(--ink); }

/* Gold strip */
.strip { background: var(--accent); color: var(--ink); padding: clamp(2rem, 4vw, 2.75rem) 0; }
.strip .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.25rem 3rem; }
.strip h2 { font-size: clamp(1.55rem, 2.6vw, 2.25rem); margin: 0; }
.strip p { margin: .4rem 0 0; max-width: 46rem; color: var(--ink); }

/* Founder message: text only */
.message { background: var(--panel); border-radius: var(--radius-arc); padding: clamp(2rem, 6vw, 5rem); }
.message-rule { display: flex; align-items: center; gap: 1.5rem; }
.message-rule svg { width: 62px; height: auto; flex: none; color: var(--accent-deep); }
.message-rule::after { content: ""; flex: 1; height: 4px; background: var(--accent-strong); }
.message-rule.end { flex-direction: row-reverse; }
.message-body { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem clamp(2rem, 5vw, 4.5rem); margin: clamp(1.75rem, 3.5vw, 2.75rem) 0; }
.message-who h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--accent-deep); text-transform: uppercase; letter-spacing: -.01em; margin: 0 0 .5rem; }
.message-who p { margin: 0; color: var(--muted); font-size: 1.12rem; }
.message blockquote { margin: 0; font-size: clamp(1.2rem, 1.7vw, 1.42rem); line-height: 1.55; color: var(--text); }
.message blockquote p:last-child { margin-bottom: 0; }
@media (max-width: 767.98px) { .message-body { grid-template-columns: 1fr; } .message-rule svg { width: 44px; } }

/* Stats over a photo */
.parallax { position: relative; padding: clamp(5rem, 10vw, 8rem) 0; background-size: cover; background-position: center; background-attachment: fixed; color: var(--white); }
.parallax::before { content: ""; position: absolute; inset: 0; background: rgba(10, 11, 12, .78); }
.parallax .container { position: relative; z-index: 1; }
.parallax h2 { color: var(--white); }
.parallax p { color: var(--on-dark); font-size: 1.2rem; }
@media (hover: none), (max-width: 991.98px) { .parallax { background-attachment: scroll; } }
.proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem clamp(2.5rem, 6vw, 5rem); align-items: center; margin-top: clamp(2.5rem, 5vw, 4rem); }
.proof-text p { margin: 0 0 1.75rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.25rem 2rem; padding-left: clamp(2.5rem, 6vw, 5rem); border-left: 2px solid var(--accent); }
.fact strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.75rem, 5vw, 4.25rem); line-height: 1; color: var(--white); }
.fact span { display: block; margin-top: .5rem; font-size: 1.15rem; color: var(--on-dark); }
@media (max-width: 767.98px) { .proof { grid-template-columns: 1fr; } .facts { padding: 2rem 0 0; border-left: 0; border-top: 2px solid var(--accent); } }

/* Strengths: alternating list on a centre line */
.zig { display: grid; gap: clamp(1.75rem, 3vw, 2.5rem); max-width: 1120px; margin: 0 auto; }
.zig-item { width: 50%; display: flex; align-items: center; gap: 1.5rem; min-height: 112px; }
.zig-item .ic { flex: none; width: 76px; height: 76px; color: var(--accent-deep); display: grid; place-items: center; }
.zig-item .ic svg { width: 62px; height: 62px; stroke-width: 1.3; }
.zig-item h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.zig-item p { color: var(--muted); margin: 0; }
.zig-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; padding-right: 2rem; border-right: 2px solid var(--accent-strong); }
.zig-item:nth-child(even) { margin-left: calc(50% - 2px); padding-left: 2rem; border-left: 2px solid var(--accent-strong); }
@media (max-width: 767.98px) {
  .zig-item, .zig-item:nth-child(even), .zig-item:nth-child(odd) { width: 100%; margin-left: 0; flex-direction: row; text-align: left; padding: 0 0 0 1.1rem; border-right: 0; border-left: 2px solid var(--accent-strong); align-items: flex-start; gap: 1rem; }
  .zig-item .ic { width: 56px; height: 56px; }
  .zig-item .ic svg { width: 46px; height: 46px; }
  .zig-item h3 { font-size: 1.35rem; }
}

/* Video */
.video-box { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-2); }
.video-box img, .video-box video, .video-box iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.video-box .play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; border: 0; transition: transform .2s; }
.video-box .play:hover { transform: scale(1.06); }
.video-box .play svg { width: 28px; margin-left: 4px; }
.video-box.playing .play { display: none; }
.video-cap { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: var(--muted); font-size: 1rem; }

/* Dosage forms */
.forms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; }
.form-tile { text-align: center; padding: 2.25rem 1rem 2rem; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--white); }
.form-tile .ic { width: 84px; height: 84px; margin: 0 auto 1.1rem; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; }
.form-tile svg { width: 44px; height: 44px; stroke-width: 1.8; }
.form-tile h3 { font-size: 1.18rem; margin: 0; }
@media (max-width: 991.98px) { .forms { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .forms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; } .form-tile:last-child { grid-column: span 2; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 18vw, 250px); gap: 1rem; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius-card); overflow: hidden; background: var(--light); }
.gallery figure.big { grid-column: span 2; grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figure::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(180deg, rgba(10, 11, 12, 0), rgba(10, 11, 12, .78)); }
.gallery figcaption { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1rem; z-index: 1; color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; }
@media (max-width: 767.98px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; gap: .75rem; } .gallery figcaption { left: .9rem; right: .9rem; bottom: .7rem; font-size: 1rem; } }

/* Check list */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .38rem; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e6cb8a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }

/* About */
.mv { padding: clamp(2rem, 4vw, 3rem); border-radius: var(--radius-card) var(--radius-card) var(--radius-arc) var(--radius-card); height: 100%; background: var(--ink); color: var(--on-dark); }
.mv h3 { color: var(--accent); font-size: 1.7rem; margin-bottom: .75rem; }
.mv p { margin: 0; font-size: 1.2rem; }
.mv.gold { background: var(--accent); color: var(--ink); }
.mv.gold h3 { color: var(--ink); }

/* Quality timeline: the steps are a real sequence, so they are numbered */
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1040px; position: relative; display: grid; gap: 1.5rem; }
.steps::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--ink-line); }
.steps li { position: relative; width: calc(50% - 56px); padding: 1.6rem 1.75rem; background: var(--ink-2); border-radius: var(--radius-card); }
.steps li:nth-child(even) { margin-left: calc(50% + 56px); }
.steps .n { position: absolute; top: 1.4rem; right: -80px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.steps li:nth-child(even) .n { right: auto; left: -80px; }
.steps h3 { color: var(--white); font-size: 1.35rem; margin-bottom: .35rem; }
.steps p { color: var(--muted-dark); margin: 0; }
@media (max-width: 767.98px) {
  .steps::before { left: 23px; }
  .steps li, .steps li:nth-child(even) { width: auto; margin-left: 68px; padding: 1.25rem 1.35rem; }
  .steps .n, .steps li:nth-child(even) .n { left: -68px; right: auto; top: 1.1rem; }
}

.reg { padding: 2rem; border-radius: var(--radius-card); background: var(--panel); height: 100%; text-align: center; }
.reg .k { font-weight: 600; color: var(--accent-deep); font-size: 1.05rem; }
.reg .v { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; color: var(--ink); margin-top: .35rem; word-break: break-word; }
.reg p { color: var(--muted); margin: .5rem 0 0; font-size: 1.02rem; }

/* Products page: one product shown at a time, chosen from the tabs */
/* Products page: sticky product picker, then every product in one scroll */
:root { --pnav-h: 76px; }
.p-nav { position: sticky; top: var(--header-h); z-index: 1020; background: var(--white); padding: .65rem 0; border-bottom: 1px solid var(--line); }
.p-nav .container { position: relative; }
.p-select { display: none; }
html.js .p-select { display: flex; align-items: center; gap: .85rem; width: 100%; max-width: 27rem; padding: .45rem 1rem .45rem .45rem; border: 0; border-radius: var(--radius-card); background: var(--ink); color: var(--accent); text-align: left; }
html.js .p-select img { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; background: var(--white); flex: none; }
.ps-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.ps-txt small { color: var(--muted-dark); font-size: .85rem; }
.ps-txt strong { font-family: var(--font-head); font-size: 1.08rem; font-weight: 600; }
.p-select svg { width: 24px; height: 24px; margin-left: auto; flex: none; transition: transform .2s; }
.p-select[aria-expanded="true"] svg { transform: rotate(180deg); }
.p-group { font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-deep); margin: 1rem .5rem .4rem; }
.p-group:first-child { margin-top: 0; }
.p-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: .35rem; }
.p-tabs a { display: flex; align-items: center; gap: .65rem; padding: .45rem .5rem; border-radius: 16px; font-family: var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.2; color: var(--text); text-decoration: none; transition: background .2s, color .2s; }
.p-tabs a:hover { background: var(--light); color: var(--ink); }
.p-tabs a.active { background: var(--ink); color: var(--accent); }
.p-tabs a img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--light); flex: none; }
html:not(.js) .p-tabs { padding-block: 1rem 0; }
html.js .p-tabs { display: none; position: absolute; left: calc(var(--bs-gutter-x, 1.5rem) * .5); right: calc(var(--bs-gutter-x, 1.5rem) * .5); top: calc(100% + 12px); padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .45); max-height: calc(100vh - var(--header-h) - 6rem); overflow-y: auto; }
html.js .p-tabs.open { display: block; }
body:has(.p-tabs.open) .wa-float { opacity: 0; pointer-events: none; }
.product { scroll-margin-top: var(--pnav-h); }
.product.alt { background: var(--light); }
.p-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.p-head h2 { margin: 0; }
.p-head .p-sub { margin-top: .35rem; }
.p-intro { font-size: 1.15rem; margin: 0 0 .5rem; }
.pg-main { aspect-ratio: 1; overflow: hidden; background: var(--white); border: 1px solid var(--line); }
.arc > .pg-main { border-radius: var(--radius) var(--radius) var(--radius-arc) var(--radius); }
.pg-main img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem; max-width: calc(100% - 12px); }
.pg-thumbs button { padding: 0; border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--white); }
.pg-thumbs button.active, .pg-thumbs button:hover { border-color: var(--accent-deep); }
.pg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.p-cat { color: var(--accent-deep); font-weight: 600; font-size: 1.1rem; margin: 0 0 .35rem; }
.p-sub { color: var(--accent-deep); font-weight: 600; font-size: 1.15rem; margin: .5rem 0 0; }
.p-h { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 1.75rem 0 .75rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .9rem .4rem .45rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); font-weight: 600; font-size: 1rem; }
.chip i { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.chip.plain { padding: .4rem .95rem; }
.note { margin-top: 1.5rem; }
.note summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.note p { margin: .6rem 0 0; color: var(--muted); }
.composition { margin-top: clamp(2rem, 4vw, 3rem); }
.composition > .p-h { margin-top: 0; }
.comp-grid { display: grid; gap: 1.25rem; }
.comp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(1.25rem, 2.5vw, 1.75rem); }
@media (min-width: 992px) { .comp { grid-template-columns: 5fr 7fr; grid-template-rows: auto 1fr; grid-template-areas: "head main" "fig main"; gap: 0 3rem; align-items: start; } .comp-head { grid-area: head; } .comp-main { grid-area: main; } .comp-fig { grid-area: fig; } }
.comp-head { margin-bottom: 1rem; }
.comp h4 { font-size: 1.2rem; margin: 0 0 .15rem; }
.comp-for { color: var(--muted); font-size: 1rem; margin: 0; }
.comp-table { width: 100%; border-collapse: collapse; }
.comp-table th, .comp-table td { padding: .5rem 0; border-top: 1px solid var(--line); font-size: 1.02rem; vertical-align: top; }
.comp-table th { font-weight: 600; padding-right: 1rem; }
.comp-table td { text-align: right; white-space: nowrap; }
.comp-table thead th { border-top: 0; padding: 0 0 .5rem; font-size: .88rem; color: var(--muted); text-align: right; white-space: nowrap; }
.comp-table thead th:first-child { text-align: left; }
.comp-table td + td { padding-left: 1rem; }
.comp-list { list-style: none; margin: 0; padding: 0; columns: 2 12rem; column-gap: 2rem; }
.comp-list li { break-inside: avoid; padding: .5rem 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 1.02rem; }
.comp-fig { margin: 1rem 0 0; }
.comp-fig img { display: block; width: auto; max-width: 100%; max-height: 34rem; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--light); }
.comp-fig figcaption { margin-top: .5rem; color: var(--muted); font-size: .92rem; }
.comp-note { color: var(--muted); font-size: .95rem; line-height: 1.5; margin: .85rem 0 0; }
.use-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; margin-top: 1.25rem; }
.use-grid div { padding: 1.6rem; background: var(--panel); border-radius: var(--radius-card); }
.product.alt .use-grid div { background: var(--white); }
.use-grid h4 { font-size: 1.15rem; margin-bottom: .4rem; }
.use-grid p { margin: 0; color: var(--text); font-size: 1.05rem; }
@media (max-width: 767.98px) { .use-grid { grid-template-columns: 1fr; } }

/* Contact */
.c-panel { display: flex; flex-direction: column; background: var(--ink); color: var(--on-dark); border-radius: var(--radius-card) var(--radius-card) var(--radius-arc) var(--radius-card); padding: clamp(1.75rem, 3.5vw, 2.75rem); height: 100%; }
.c-panel h2 { color: var(--accent); font-size: clamp(1.75rem, 2.6vw, 2.25rem); margin-bottom: 1rem; }
.c-item { flex: 1 1 auto; display: flex; align-items: center; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--ink-line); text-decoration: none; color: var(--on-dark); }
.c-item:last-child { border-bottom: 0; padding-bottom: 0; }
.c-item .ic { width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--accent); color: var(--ink); display: grid; place-items: center; }
.c-item .ic svg { width: 20px; }
.c-item small { display: block; font-size: .98rem; color: var(--muted-dark); }
.c-item span { font-weight: 600; font-size: 1.08rem; color: var(--white); overflow-wrap: anywhere; }
a.c-item:hover span:not(.ic) { color: var(--accent); }
.form-box { background: var(--light); border-radius: var(--radius-card); padding: clamp(1.5rem, 4vw, 2.75rem); height: 100%; }
.form-box h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.form-label { font-weight: 600; font-size: 1rem; }
.form-control, .form-select { border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .95rem; font-size: 1.02rem; background-color: var(--white); }
.form-control:focus, .form-select:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 .2rem rgba(230, 203, 138, .55); }
.hp-field { position: absolute; left: -9999px; }
.form-alert { display: none; padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 600; margin-bottom: 1.2rem; }
.form-alert.ok { background: #e8f4ec; color: #1b6a39; }
.form-alert.err { background: #fbeaea; color: #8e2a2a; }
.form-alert.show { display: block; }
.map { overflow: hidden; height: 420px; background: var(--light); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Footer */
.site-footer { position: relative; background: var(--panel); color: var(--text); padding: clamp(4rem, 6vw, 5.5rem) 0 1.75rem; margin-top: clamp(5rem, 8vw, 7rem); }
.site-footer .brand-logo { color: var(--ink); width: 124px; margin-bottom: 1.25rem; }
.site-footer h5 { position: relative; font-size: 1.08rem; font-weight: 700; color: var(--ink); padding-bottom: .6rem; margin-bottom: 1.1rem; }
.site-footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--accent-strong); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a:not(.touch):not(.brand-logo) { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:not(.touch):not(.brand-logo):hover { color: var(--accent-deep); text-decoration: underline; }
.disclaimer { font-size: 1rem; color: var(--muted); border-top: 1px solid var(--muted-dark); margin-top: 3rem; padding-top: 1.5rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; font-size: 1rem; color: var(--muted); margin-top: 1rem; padding-right: 72px; } /* clears the WhatsApp button */

/* Get in touch badge on the footer edge */
.touch { position: absolute; top: -70px; right: max(1.25rem, calc((100% - var(--container-inner)) / 2)); width: 140px; height: 140px; display: grid; place-items: center; text-decoration: none; }
.touch svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent-strong); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.touch span { position: relative; width: 104px; height: 104px; border-radius: 50%; background: var(--ink); color: var(--accent); display: grid; place-items: center; text-align: center; font-family: var(--font-head); font-weight: 700; line-height: 1.1; font-size: 1.02rem; padding: .75rem; }
.touch:hover svg { transform: rotate(90deg); }
@media (max-width: 767.98px) { .touch { width: 112px; height: 112px; top: -56px; } .touch span { width: 84px; height: 84px; font-size: .9rem; padding: .5rem; } }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 1040; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45); }
.wa-float:hover { color: var(--white); }
.wa-float svg { width: 28px; }

/* Reveal on scroll (images only). Stays visible when JavaScript is off */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img, .hero-media video, .hero h1 span { animation: none; }
  .rail-card .img img, .touch svg { transition: none; }
}

@media (max-width: 575.98px) { .container { padding-left: 1.25rem; padding-right: 1.25rem; } }
/* g-5 rows pull out by half the gutter, so on phones the gutter equals twice the container padding (no sideways scroll) */
@media (max-width: 575.98px) { .row.g-5 { --bs-gutter-x: 2.5rem; } }
