/* Medek Medikal – static site. Brand blue + navy from the original site, pulse red from the logo. */
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/opensans-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/opensans-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/opensans-italic-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F; }
@font-face { font-family: "Open Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/opensans-italic-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+2000-206F; }

:root {
  --brand: #088eff;
  --blue: #0a6fd1;
  --blue-dark: #0858a8;
  --sky: #e9f4ff;
  --sky-2: #d4e9ff;
  --navy: #1f3354;
  --navy-2: #2c4167;
  --ink: #15233b;
  --text: #3a4659;
  --muted: #687488;
  --line: #e2e8f0;
  --soft: #f4f7fb;
  --white: #fff;
  --pulse: #e3000f;
  --radius: 10px;
  --radius-sm: 6px;
  --container: 1200px;
  --shadow-sm: 0 1px 2px rgba(21, 35, 59, .06), 0 2px 8px rgba(21, 35, 59, .05);
  --shadow: 0 10px 30px rgba(21, 35, 59, .09);
  --shadow-lg: 0 24px 60px rgba(21, 35, 59, .16);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid rgba(8, 142, 255, .5); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--ink); font-weight: 800; line-height: 1.18; letter-spacing: -.015em; }
h1 { font-size: clamp(32px, 4.6vw, 52px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 20px; }
h4 { font-size: 16px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { color: var(--ink); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #c9d5e8; }
.section--navy h2, .section--navy h3 { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--pulse); }
.section--navy .eyebrow { color: #7cc0ff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.section-head p { max-width: 560px; margin: 0; color: var(--muted); }
.section--navy .section-head p { color: #a9b8d0; }
.lead { font-size: 18px; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 15px; line-height: 1.2; color: #fff; background: var(--blue);
  cursor: pointer; transition: background .2s, transform .2s var(--ease), box-shadow .2s;
  box-shadow: 0 6px 18px rgba(10, 111, 209, .28);
}
.btn:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--sky-2); }
.btn--ghost:hover { background: var(--sky); color: var(--blue-dark); }
.btn--white { background: #fff; color: var(--navy); box-shadow: none; }
.btn--white:hover { background: var(--sky); color: var(--navy); }
.btn--outline-white { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.btn--outline-white:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.link-arrow { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
a:hover .link-arrow::after, .link-arrow:hover::after { transform: translateX(4px); }

/* Top bar + header */
.topbar { background: var(--navy); color: #b9c6db; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #e3ebf7; }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; gap: 22px; align-items: center; }
.topbar svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 6px; opacity: .8; }
.header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.logo { flex: none; }
.logo img, .logo svg { display: block; width: 176px; height: auto; }
.logo .logo-pulse { animation: logo-pulse 1.4s var(--ease) .2s both; }
@keyframes logo-pulse { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav > ul > li > a, .nav > ul > li > button {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1; color: var(--ink); border-radius: 999px;
}
.nav > ul > li > a:hover, .nav > ul > li > button:hover, .nav [aria-current="page"] { color: var(--blue); background: var(--sky); }
.nav .chev { width: 10px; height: 10px; transition: transform .2s; }
.header__cta { flex: none; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega:hover .chev, .has-mega.is-open .chev { transform: rotate(180deg); }
.mega { max-height: calc(100vh - 130px); overflow-y: auto; }
.header .mega__inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; align-items: stretch; min-height: 0; padding: 28px 20px 0; }
.mega__col { padding: 0 20px; border-left: 1px solid var(--line); }
.mega__col:first-child { padding-left: 0; border-left: 0; }
.mega__col:nth-child(5) { padding-right: 0; }
.mega__head { display: flex; align-items: center; gap: 10px; min-height: 44px; margin-bottom: 10px; font-size: 14.5px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.mega__head:hover { color: var(--blue); }
.mega__icon { flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.mega__icon svg { width: 18px; height: 18px; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: var(--radius-sm); font-size: 14px; line-height: 1.35; color: var(--ink); }
.mega li a small { flex: none; min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--soft); color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; }
.mega li a:hover { background: var(--soft); color: var(--blue); }
.mega li a:hover small { background: var(--sky); color: var(--blue); }
.mega__foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; margin-top: 26px; padding: 16px 0 20px; border-top: 1px solid var(--line); }
.mega__search { position: relative; flex: 0 1 380px; }
.mega__search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.mega__search input { width: 100%; height: 42px; padding: 0 14px 0 42px; font: inherit; font-size: 14px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; background: var(--soft); }
.mega__search input:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(8, 142, 255, .15); }
.mega__meta { flex: 1; font-size: 13px; color: var(--muted); }
.mega__foot .btn { flex: none; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--sky); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; content: ""; border-radius: 2px; }
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.nav-head, .nav-backdrop { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f6faff 0%, #fff 100%); }
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--blue); }
.hero .lead { max-width: 560px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; justify-content: start; margin: 0; }
.stats div { display: flex; flex-direction: column; border-left: 3px solid var(--sky-2); padding-left: 14px; }
.stats dt { order: 2; font-size: 13px; color: var(--muted); }
.stats dd { order: 1; margin: 0; font-size: 28px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.hero__visual { position: relative; aspect-ratio: 5 / 4.4; }
.hero__photo {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg);
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 14%);
}
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__photo img.is-active { opacity: 1; }
.hero__badge {
  position: absolute; left: -28px; bottom: 34px; z-index: 2; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 300px;
}
.hero__badge b { display: block; color: var(--ink); font-size: 15px; }
.hero__badge span { font-size: 13px; color: var(--muted); }
.hero__badge i { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; color: var(--blue); }
.hero__badge svg { width: 24px; height: 24px; }
/* Heartbeat monitor: a small floating "patient monitor" on the hero photo; its trace draws the "M" of the
   logo's pulse line in a loop (driven by main.js) */
.hero__monitor {
  position: absolute; z-index: 3; left: -26px; top: -22px; width: 236px; height: 92px; border-radius: 14px;
  background:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 100% 14px,
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 14px 100%,
    var(--navy);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.pulse { position: absolute; inset: 12px 12px 10px; width: calc(100% - 24px); height: calc(100% - 22px); overflow: visible; pointer-events: none; }
.pulse__base { fill: none; stroke: #ff2a38; stroke-width: 1.75; opacity: .3; stroke-linejoin: round; stroke-linecap: round; transition: opacity .35s; }
.pulse__trace { fill: none; stroke-width: 2.75; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255, 42, 56, .7)); }
.pulse__head { fill: #fff; stroke: #ff2a38; stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(255, 42, 56, .95)) drop-shadow(0 0 14px rgba(255, 42, 56, .6)); }
.pulse.is-beat .pulse__base { opacity: .55; }
.pulse--static .pulse__base { opacity: .8; stroke-width: 2; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drawer { from { transform: translateX(100%); } }

/* Signature blue chevron cards (kept from the old theme) */
.pillars { position: relative; z-index: 2; margin-top: -54px; }
/* the shadow follows the chevron shapes, so nothing white shows under the points */
.pillars__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
  filter: drop-shadow(0 16px 24px rgba(21, 35, 59, .16));
  /* Some browsers clip a filter to the element's box when it is composited, which cut the shadow off in a
     straight line under the chevrons. The transparent padding makes the box big enough to hold the whole
     shadow; the negative margin keeps the layout where it was. */
  padding: 0 20px 72px; margin: 0 -20px -72px;
}
.pillar:first-child { border-top-left-radius: var(--radius); }
.pillar:last-child { border-top-right-radius: var(--radius); }
.pillar {
  position: relative; padding: 28px 26px 52px; color: #e8f2ff;
  clip-path: polygon(0 0, 100% 0, 100% 84%, 50% 100%, 0 84%);
}
.pillar:nth-child(1) { background: #2f7de8; }
.pillar:nth-child(2) { background: #3a8cf0; }
.pillar:nth-child(3) { background: #4a99f3; }
.pillar:nth-child(4) { background: #5fa7f5; }
.pillar svg { width: 34px; height: 34px; color: #fff; margin-bottom: 14px; }
.pillar h3 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.pillar p { font-size: 14px; margin: 0; color: #e8f2ff; }

/* Sector cards (product areas) */
.sectors { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; }
.sector { grid-column: span 2; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease); }
.sector:nth-child(4), .sector:nth-child(5) { grid-column: span 3; }
.sector:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.sector__img { position: relative; aspect-ratio: 16 / 8; background: var(--soft); overflow: hidden; }
.sector__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sector:hover .sector__img img { transform: scale(1.04); }
.sector__img::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(0deg, rgba(21, 35, 59, .55), transparent); }
.sector__count { position: absolute; z-index: 1; left: 16px; bottom: 12px; color: #fff; font-size: 13px; font-weight: 700; }
.sector__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.sector__body h3 { margin-bottom: 6px; }
.sector__body h3 a { color: var(--ink); }
.sector__body > p { color: var(--muted); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: auto 0 0; }
.chips a, .chips span {
  display: inline-block; padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--soft); border: 1px solid var(--line); border-radius: 999px; transition: .2s;
}
.chips a:hover, .chips a[aria-current="page"] { background: var(--sky); border-color: var(--sky-2); color: var(--blue); }

/* Product cards */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; color: var(--text);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .25s, transform .25s var(--ease), border-color .25s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; color: var(--text); }
.card__img { position: relative; aspect-ratio: 1 / 1; background: #fff; }
.card__img img { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; transition: transform .5s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 16px 18px 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__brand { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.card__title { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.35; margin: 0; }
.card__cat { font-size: 13px; color: var(--muted); margin-top: auto; }

/* Brands strip */
.brands { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.brands li { padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--navy); background: #fff; font-size: 15px; }
.brands li small { font-weight: 600; color: var(--muted); margin-left: 6px; }
.brand-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; align-items: center; margin-top: 40px; }
.brand-logos img { margin: 0 auto; max-height: 72px; width: auto; mix-blend-mode: multiply; }

/* About split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split__media { position: relative; }
.split__media img { border-radius: 16px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.split__media::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 16px; background: var(--sky); z-index: -1; }
.checklist { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a6fd1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* Reference marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 18px; width: max-content; animation: scroll 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { position: relative; flex: none; width: 170px; height: 100px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
/* absolute + contain: the logo always fits the tile, whatever its own aspect ratio */
.marquee__item img { position: absolute; inset: 14px 16px; width: calc(100% - 32px); height: calc(100% - 28px); object-fit: contain; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* FAQ (details/summary: content stays in the HTML for search and AI crawlers) */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px;
  padding: 20px 0; font-weight: 700; color: var(--ink); font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; font-weight: 700; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--text); }

/* CTA band */
.cta { position: relative; overflow: hidden; background: var(--navy); color: #c9d5e8; }
.cta .container { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; font-size: 17px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .16; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(8, 142, 255, .18); }

/* Page header */
.page-hero { position: relative; overflow: hidden; background: var(--navy); color: #c9d5e8; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .22; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy) 35%, rgba(31, 51, 84, .55)); }
.page-hero .container { position: relative; padding-top: 44px; padding-bottom: 56px; }
.page-hero h1 { color: #fff; font-size: clamp(30px, 4vw, 46px); margin: 10px 0 12px; max-width: 900px; }
.page-hero p { max-width: 760px; margin: 0; font-size: 17px; color: #c9d5e8; }
.page-hero .eyebrow { color: #7cc0ff; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.page-hero--soft::after { background: var(--soft); }
.breadcrumb { font-size: 13px; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; color: #9fb0ca; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #7f92b0; }
.breadcrumb a { color: #c9d5e8; }
.breadcrumb a:hover { color: #fff; }

/* Catalog */
.catalog { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: 104px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; max-height: calc(100vh - 124px); overflow: auto; }
.filters h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 8px; }
.filters h2:first-of-type { margin-top: 0; }
.filters ul { list-style: none; padding: 0; margin: 0; }
.filters a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; margin: 0 -10px; border-radius: var(--radius-sm); font-size: 14px; color: var(--ink); }
.filters a span { color: var(--muted); font-size: 13px; }
.filters a:hover { background: var(--soft); color: var(--blue); }
.search { position: relative; margin-bottom: 22px; }
.search input {
  width: 100%; height: 54px; padding: 0 18px 0 50px; font: inherit; font-size: 16px; color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm);
}
.search input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(8, 142, 255, .15); }
.search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.search-meta { font-size: 14px; color: var(--muted); margin: -8px 0 18px; }
.search-empty { display: none; padding: 40px; text-align: center; color: var(--muted); background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); }
.cat-section { margin-bottom: 56px; }
.cat-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line); }
.cat-section__head h2 { font-size: 22px; margin: 0; }
.sector-title { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 22px; display: flex; align-items: center; gap: 12px; }
.sector-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* Category intro */
.intro-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; }
.aside-card { background: var(--soft); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.aside-card h3 { font-size: 17px; }
.aside-card p { font-size: 15px; color: var(--muted); }
.aside-card .btn { width: 100%; margin-top: 8px; }

/* Product detail */
.product { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.gallery { position: sticky; top: 104px; }
.gallery__main { position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); border-radius: 16px; cursor: zoom-in; }
.gallery__main img { position: absolute; inset: 34px; width: calc(100% - 68px); height: calc(100% - 68px); object-fit: contain; }
.gallery__zoom { position: absolute; right: 14px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; color: var(--muted); }
.gallery__zoom svg { width: 18px; height: 18px; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumbs button { width: 84px; height: 84px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; }
.gallery__thumbs button.is-active { border-color: var(--brand); box-shadow: 0 0 0 2px rgba(8, 142, 255, .25); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--sky); color: var(--blue-dark); }
.tag--muted { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.product h1 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 16px; }
.product__summary { font-size: 17px; color: var(--text); margin-bottom: 24px; }
.product__legacy { font-size: 15px; }
.product__legacy p { margin: 0 0 .4em; }
.product h2 { font-size: 20px; margin: 32px 0 14px; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs th, .specs td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 42%; font-weight: 600; color: var(--muted); background: var(--soft); }
.specs td { color: var(--ink); }
.uses { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.uses li { padding: 6px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: 14px; }
.inquiry { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--navy); color: #c9d5e8; }
.inquiry h2 { color: #fff; margin: 0 0 6px; font-size: 19px; }
.inquiry p { font-size: 15px; margin-bottom: 18px; }
.inquiry__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.updated { margin-top: 18px; font-size: 13px; color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; background: rgba(12, 20, 34, .9); padding: 24px; cursor: zoom-out; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; width: auto; background: #fff; padding: 16px; border-radius: var(--radius); }

/* About page */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--sky-2); }
.timeline li { position: relative; padding: 0 0 26px 28px; }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.timeline b { display: block; color: var(--ink); font-size: 18px; }
.group-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.group-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.group-card b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.group-card span { font-size: 14px; color: var(--muted); }

/* References */
.logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.logo-grid li { position: relative; aspect-ratio: 3 / 2; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow .2s; }
.logo-grid li:hover { box-shadow: var(--shadow); }
.logo-grid img { position: absolute; inset: 18px; width: calc(100% - 36px); height: calc(100% - 36px); object-fit: contain; }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.contact-card { display: flex; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); }
.contact-card i { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.contact-card i svg { width: 22px; height: 22px; }
.contact-card b { display: block; color: var(--ink); margin-bottom: 4px; }
.contact-card a, .contact-card span { display: block; font-size: 16px; color: var(--ink); line-height: 1.6; }
.contact-card a:hover { color: var(--blue); }
.contact-card small { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.quote-card { display: grid; grid-template-columns: 1fr 1.1fr auto; gap: 36px; align-items: center; margin-top: 0; padding: 34px 36px; }
.quote-card p { margin: 0; }
.quote-card .checklist { margin: 0; gap: 8px; }
.quote-card__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.quote-card h2 { font-size: 24px; }
.checklist--light li { color: #e3ebf7; }
.checklist--light li::before { background-color: rgba(255, 255, 255, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l4 4 10-10'/%3E%3C/svg%3E"); }
.quote-card__note { margin: 4px 0 0 !important; max-width: 280px; font-size: 13px; color: #a9b8d0; }
.quote-card__note a { color: #fff; }
.visit { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.visit__map { position: relative; min-height: 440px; background: var(--sky); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visit__panel { display: flex; flex-direction: column; gap: 12px; padding: 32px; }
.visit__panel h3 { margin: 6px 0 0; font-size: 19px; }
.visit__panel address { font-style: normal; color: var(--text); line-height: 1.7; margin-bottom: 10px; }
.visit__pin { width: 48px; height: 48px; border-radius: 50%; background: var(--pulse); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(227, 0, 15, .3); }
.visit__pin svg { width: 22px; height: 22px; }
.visit__panel .btn { width: 100%; }
.visit__call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; font-weight: 700; }
.visit__call svg { width: 16px; height: 16px; }

/* Blog */
.post-list { display: grid; gap: 24px; }
.post-card { display: grid; grid-template-columns: 320px 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); background: #fff; }
.post-card:hover { box-shadow: var(--shadow); color: var(--text); }
/* The image sits absolutely in its own box: Safari resolves height:100% inside a grid row differently
   and let the photo grow over the text. */
.post-card__media { position: relative; min-height: 220px; background: var(--soft); }
.post-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.post-card__body { padding: 26px; }
time { font-size: 13px; color: var(--muted); font-weight: 600; }
.prose { max-width: 760px; font-size: 17px; }
.prose img { border-radius: var(--radius); margin: 24px 0; }

/* Footer */
.footer { background: #12203a; color: #9fb0ca; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.2fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.footer h2 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 4px 0; }
.footer a { color: #d3dcea; }
.footer a:hover { color: #fff; }
.footer__logo { display: inline-block; margin-bottom: 18px; }
.footer__logo img { width: 190px; }
.footer address { font-style: normal; line-height: 1.9; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: 13px; }
.footer__bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* Floating call button on phones */
.call-fab { display: none; }
.to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--ink); color: #fff; font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden; transition: .25s; box-shadow: var(--shadow);
}
.to-top.is-visible { opacity: 1; visibility: visible; }

/* Scroll reveal (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
  .header__cta { display: none; }
  .header .mega__inner { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .mega__col, .mega__col:first-child, .mega__col:nth-child(5) { padding: 0 18px 0 0; border-left: 0; }
  .mega__meta { display: none; }
  .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1000px) {
  .menu-toggle { display: inline-flex; }
  /* backdrop-filter would make the header the containing block of the fixed drawer */
  .header { backdrop-filter: none; background: #fff; }
  .nav {
    position: fixed; inset: 0 0 0 auto; z-index: 80; width: min(380px, 90vw); margin: 0;
    background: #fff; overflow-y: auto; padding: 0 0 32px; display: none;
  }
  .nav.is-open { display: block; box-shadow: var(--shadow-lg); animation: drawer .3s var(--ease); }
  .nav-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .nav-head img { width: 140px; }
  .nav-close { width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--soft); font-size: 24px; cursor: pointer; }
  .nav-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(12, 20, 34, .45); }
  .nav-backdrop.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 12px; }
  .nav > ul > li > a, .nav > ul > li > button { width: 100%; justify-content: space-between; padding: 14px 12px; font-size: 16px; border-radius: var(--radius-sm); }
  .mega { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; display: none; }
  .has-mega:hover .mega { display: none; }
  .has-mega.is-open .mega { display: block; }
  .mega { max-height: none; overflow: visible; }
  .header .mega__inner { grid-template-columns: 1fr; gap: 14px; padding: 4px 12px 12px; }
  .mega__col, .mega__col:first-child, .mega__col:nth-child(5) { padding: 0; border: 0; }
  .mega__head { min-height: 0; margin: 6px 0 4px; }
  .mega__foot { flex-direction: column; align-items: stretch; gap: 10px; margin-top: 8px; padding: 14px 0 4px; }
  .mega__search { flex: none; }
  .nav__cta { padding: 12px 24px; }
  .nav__cta .btn { width: 100%; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; padding-top: 40px; padding-bottom: 80px; }
  .hero__monitor { left: 12px; top: 12px; width: 190px; height: 76px; }
  .hero__visual { aspect-ratio: 16 / 11; }
  .hero__badge { left: 16px; bottom: 16px; }
  .pillars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillar { clip-path: none; padding-bottom: 28px; border-radius: 0 !important; }
  .pillars__grid { border-radius: var(--radius); overflow: hidden; padding: 0; margin: 0; filter: none; box-shadow: var(--shadow); }
  .sectors { grid-template-columns: 1fr 1fr; }
  .sector, .sector:nth-child(4), .sector:nth-child(5) { grid-column: span 1; }
  .split, .intro-grid, .product, .cta .container { grid-template-columns: 1fr; gap: 36px; }
  .contact-cards { grid-template-columns: 1fr; gap: 12px; }
  .quote-card { grid-template-columns: 1fr; gap: 22px; }
  .quote-card__actions { flex-direction: row; flex-wrap: wrap; }
  .visit { grid-template-columns: 1fr; }
  .visit__map { min-height: 320px; }
  .cta__actions { justify-content: flex-start; }
  .catalog { grid-template-columns: 1fr; }
  .filters { display: none; }
  .gallery { position: static; }
  .group-cards { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1001px) { .nav__cta, .catalog__chips { display: none; } }
@media (max-width: 640px) {
  body { font-size: 15px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 48px 0; }
  /* only the sides: a padding shorthand here wiped vertical padding of elements that are also .container */
  .container { padding-left: 16px; padding-right: 16px; }
  .topbar .topbar__group:first-child { display: none; }
  .topbar .container { justify-content: center; }
  .header .container { min-height: 66px; }
  .logo img, .logo svg { width: 138px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .stats dd { font-size: 22px; }
  .stats dt { font-size: 12px; }
  .hero__badge { display: none; }
  .pillars { margin-top: -40px; }
  .pillars__grid { grid-template-columns: 1fr 1fr; }
  .pillar { padding: 20px 16px; }
  .pillar p { font-size: 13px; }
  .sectors { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card__img img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
  .card__body { padding: 12px 12px 14px; }
  .card__title { font-size: 14px; }
  .card__cat { display: none; }
  .brand-logos { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .group-cards { grid-template-columns: 1fr; }
  .quote-card { padding: 24px 20px; }
  .post-card { grid-template-columns: 1fr; }
  .post-card__media { min-height: 0; aspect-ratio: 16 / 10; }
  .post-card__body { padding: 20px 20px 22px; }
  .post-card__body h2 { font-size: 19px !important; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
  /* room under the copyright for the floating "Hemen arayın" and back-to-top buttons */
  .footer__bottom { padding: 20px 0 96px; }
  .footer__bottom .container { flex-direction: column; gap: 4px; }
  .specs th { width: 46%; }
  .specs th, .specs td { padding: 10px 12px; }
  .split__media::before { inset: 14px -6px -14px 14px; }
  .call-fab {
    display: inline-flex; position: fixed; left: 16px; bottom: 16px; z-index: 40; align-items: center; gap: 8px;
    padding: 12px 18px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; box-shadow: var(--shadow-lg);
  }
  .call-fab svg { width: 18px; height: 18px; }
  .call-fab:hover { color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .header, .footer, .cta, .inquiry, .to-top, .call-fab, .filters { display: none !important; }
  .page-hero { background: none; color: #000; }
  .page-hero h1 { color: #000; }
}
.link-arrow svg { width: 20px; height: 20px; flex: none; }
