/* Saiman Healthcare - site styles */

:root {
  --navy-50: #ebedf2; --navy-100: #dee3eb; --navy-200: #c9d1df; --navy-300: #a8b6ce; --navy-400: #748bb3;
  --navy-500: #234689; --navy-600: #122f67; --navy-700: #061e4e; --navy-800: #01113b;
  --teal-50: #f1f8f7; --teal-100: #e8f3f3; --teal-200: #d9edec; --teal-300: #bee2e1; --teal-400: #8fd2d0;
  --teal-500: #06b7b5; --teal-600: #058482; --teal-700: #065e5d;
  --ink: #18233c; --muted: #4f5b73; --line: #d9dfe8; --paper: #fdfefe; --card: #fefefe;
  --font-head: "Manrope", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --r-sm: 8px; --r-md: 14px; --r-lg: 22px;
  --shadow: 0 1px 2px rgba(6, 30, 78, .06), 0 8px 24px rgba(6, 30, 78, .07);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--font-body); color: var(--ink); background: var(--paper); touch-action: manipulation; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-500); text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }
h1, h2, h3, h4, .h1, .h3, .h4 { font-family: var(--font-head); color: var(--navy-600); line-height: 1.2; margin: 0 0 .6em; text-wrap: balance; letter-spacing: -.01em; }
h1, .h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.3vw, 2.25rem); font-weight: 800; }
h3, .h3 { font-size: 1.2rem; font-weight: 700; }
.h4, h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
.i { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.15em; }
.sprite { position: absolute; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-600); color: #fdfefe; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }
.center { text-align: center; justify-content: center; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 60ch; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.35em; border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.btn-primary { background: var(--teal-600); color: #fdfefe; }
.btn-primary:hover { background: var(--teal-700); color: #fdfefe; }
.btn-ghost { background: transparent; color: var(--navy-600); border-color: var(--navy-300); }
.btn-ghost:hover { border-color: var(--navy-500); color: var(--navy-600); background: var(--navy-50); }
.btn-light { background: #fdfefe; color: var(--navy-600); }
.btn-light:hover { background: var(--teal-100); color: var(--navy-700); }
.btn-lg { min-height: 54px; padding: .8em 1.6em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--teal-700); }
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow .i { transition: transform .2s; }

.topbar { background: var(--navy-700); color: var(--navy-100); font-size: .875rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar a, .topbar span { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fdfefe; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-right { gap: 8px; }
.topbar .portal-pill { padding: 4px 14px; margin-right: 8px; border-radius: 999px; background: var(--teal-600); color: #fdfefe; font-weight: 600; font-size: .82rem; line-height: 1.4; transition: background-color .2s; }
.topbar .portal-pill:hover { background: var(--teal-500); color: var(--navy-700); }
.topbar .top-social { width: 28px; height: 28px; justify-content: center; border-radius: 50%; background: rgba(253, 254, 254, .12); transition: background-color .2s; }
.topbar .top-social:hover { background: var(--teal-600); }
.topbar .top-social .i { width: 14px; height: 14px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(253, 254, 254, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list > li > a, .drop-btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; font: 600 .98rem/1 var(--font-body); color: var(--ink); text-decoration: none; background: none; border: 0; border-radius: var(--r-sm); cursor: pointer; }
.nav-list > li > a:hover, .drop-btn:hover, .nav-list > li > a[aria-current] { color: var(--teal-700); }
.nav-list > li > a[aria-current] { background: var(--teal-50); }
.chev { transition: transform .2s; }
.drop { position: absolute; top: calc(100% + 8px); left: 0; min-width: 240px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-drop.is-open .drop { opacity: 1; visibility: visible; transform: none; }
.has-drop.is-open .chev { transform: rotate(180deg); }
.drop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 500; }
.drop a:hover { background: var(--teal-50); color: var(--teal-700); }
.drop-mega { width: 560px; left: -120px; }
.drop-mega ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega-ic { width: 28px; height: 28px; object-fit: contain; }
.mega-all { justify-content: center; margin-top: 6px; background: var(--navy-50); font-weight: 600 !important; }
.menu-btn { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--navy-600); border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { background: linear-gradient(160deg, var(--teal-50) 0%, var(--navy-50) 100%); padding: 48px 0 56px; overflow: hidden; }
.hero-in { position: relative; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.hero-slide.is-on { opacity: 1; visibility: visible; }
.hero-copy h1, .hero-copy .h1 { margin-bottom: .45em; max-width: 20ch; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.hero-media img { width: 100%; aspect-ratio: 16 / 9.5; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow); }
.slide-dots { display: flex; gap: 8px; margin-top: 24px; }
.slide-dots button { width: 28px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--navy-200); cursor: pointer; transition: background-color .2s, width .2s; }
.slide-dots button[aria-current="true"] { background: var(--teal-600); width: 44px; }

.logos { padding: 36px 0; border-bottom: 1px solid var(--line); }
.logos-h { font-size: .95rem; font-weight: 700; color: var(--muted); text-align: center; margin-bottom: 18px; font-family: var(--font-body); }
.logo-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); align-items: center; justify-items: center; gap: 20px 28px; }
.logo-row img { height: 48px; width: auto; max-width: 140px; object-fit: contain; mix-blend-mode: multiply; }

.sec { padding: clamp(56px, 4vw + 32px, 96px) 0; }
.sec-first { padding-top: clamp(40px, 3vw + 20px, 64px); }
.sec-tint { background: var(--teal-50); }
.sec-head { max-width: 720px; margin-bottom: 36px; }
.sec-head p { color: var(--muted); margin: 0; }
.sec-head-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; max-width: none; }
.sec-head-row h2 { margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.media-frame img { width: 100%; border-radius: var(--r-lg); object-fit: cover; }
.split-media img { aspect-ratio: 4 / 3.2; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; }
.prose h4 { margin-top: 1.2em; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose li::marker { color: var(--teal-600); }
.prose a { color: var(--teal-700); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; text-align: left; border: 1px solid var(--line); }
.prose th { background: var(--navy-50); }
.prose blockquote { margin: 1.2em 0; padding: 16px 20px; background: var(--teal-50); border-radius: var(--r-md); }
.prose > :first-child { margin-top: 0; }

.card-grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); min-width: 0; transition: transform .2s, box-shadow .2s; }
.card > a, .card > div { display: flex; flex-direction: column; height: 100%; padding: 24px; color: inherit; text-decoration: none; }
.card > a:hover { color: inherit; }
.card:has(> a):hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; overflow-wrap: anywhere; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: .8em; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--teal-700); font-size: .95rem; }
.tint-rotate > .card, .tint-rotate > li { border-color: transparent; }
.tint-rotate > :nth-child(4n+1) { background: var(--teal-100); }
.tint-rotate > :nth-child(4n+2) { background: var(--navy-50); }
.tint-rotate > :nth-child(4n+3) { background: var(--teal-200); }
.tint-rotate > :nth-child(4n+4) { background: var(--navy-100); }
.sec-tint .tint-rotate > :nth-child(4n+1) { background: var(--card); }
.sec-tint .tint-rotate > :nth-child(4n+3) { background: var(--teal-200); }
.card-ic { display: grid; place-items: center; width: 64px; height: 64px; border-radius: var(--r-md); background: rgba(253, 254, 254, .8); margin-bottom: 18px; }
.card-ic img { width: 40px; height: 40px; object-fit: contain; }
.card-service h3 { font-size: 1.1rem; }
.card-static { padding: 24px; display: flex; flex-direction: column; }
.card-item { padding: 24px; }
.card-item h3 { font-size: 1.05rem; margin-bottom: .3em; }
.card-item p { margin: 0; }
.card-img { display: block; overflow: hidden; border-radius: var(--r-sm); margin: -8px -8px 18px; position: relative; background: var(--navy-50); }
.card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-post > a { padding: 16px; }
.card-post .card-img { margin: 0 0 14px; }
.card-post time { font-size: .85rem; color: var(--muted); }
.card-post h3 { font-size: 1.08rem; margin: .3em 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-press > a, .card-press > div { padding: 16px; }
.card-press .card-img { margin: 0 0 14px; }
.card-press .card-img img { aspect-ratio: 4 / 3; }
.card-press h3 { font-size: 1rem; }
.play { position: absolute; inset: 0; display: grid; place-items: center; }
.play .i { width: 56px; height: 56px; padding: 16px; border-radius: 50%; background: rgba(253, 254, 254, .92); color: var(--teal-700); box-shadow: var(--shadow); }
.spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-spec > a { flex-direction: row; align-items: center; gap: 24px; flex-wrap: wrap; }
.spec-logo { flex: 0 1 200px; min-width: 0; }
.spec-logo img { width: 100%; max-width: 200px; height: 70px; object-fit: contain; object-position: left center; }
.card-spec p { flex: 1 1 220px; margin: 0; }
.card-spec .card-more { flex-basis: 100%; }
.card-row > a { flex-direction: row; gap: 20px; padding: 16px; align-items: stretch; }
.card-row .card-img { flex: 0 0 42%; margin: 0; }
.card-row .card-img img { height: 100%; aspect-ratio: auto; min-height: 180px; }
.card-row .card-body { display: flex; flex-direction: column; padding: 8px 4px; min-width: 0; }

.sec-dark { background: var(--navy-600); color: var(--navy-100); }
.sec-dark h2, .sec-dark h3 { color: #fdfefe; }
.sec-dark .lead { color: var(--navy-200); }
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.why-list li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r-md); background: rgba(253, 254, 254, .07); font-weight: 600; color: #fdfefe; }
.why-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--teal-600); }
.why-ic img { width: 32px; height: 32px; object-fit: contain; }
.why-media img { aspect-ratio: 4 / 4.4; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 56px; }
.stat { padding: 20px; border-radius: var(--r-md); background: rgba(253, 254, 254, .07); }
.stat strong { display: block; font: 800 2rem/1 var(--font-head); color: var(--teal-400); font-variant-numeric: tabular-nums; }

.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 22px 22px 20px 72px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); counter-increment: step; }
.step::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-600); color: #fdfefe; font: 700 .95rem/1 var(--font-head); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.05rem; margin-bottom: .3em; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }
.sec-tint .step { border-color: transparent; }

.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 40px) / 3)); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.quote-card { scroll-snap-align: start; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-md); background: var(--teal-50); }
.quote-card:nth-child(even) { background: var(--navy-50); }
.quote-card blockquote { margin: 0 0 8px; font-size: 1.02rem; }
.quote-card blockquote p { margin: 0; }
.clamp { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.clamp.is-open { -webkit-line-clamp: unset; display: block; }
.read-toggle { align-self: flex-start; font-weight: 600; color: var(--teal-700); margin-bottom: 14px; min-height: 24px; }
.quote-by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-by strong { display: block; color: var(--navy-600); }
.quote-by small { color: var(--muted); font-size: .9rem; }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.carousel-nav { display: flex; gap: 8px; }
.round-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--navy-300); background: var(--card); color: var(--navy-600); cursor: pointer; transition: background-color .2s, border-color .2s; }
.round-btn:hover { background: var(--navy-50); border-color: var(--navy-500); }

.cta-band { background: var(--navy-500); color: var(--navy-100); }
.cta-band h2 { color: #fdfefe; }
.cta-band .lead { color: var(--navy-100); }
.cta-in { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: clamp(32px, 5vw, 72px); align-items: center; }
.cta-contacts { display: grid; gap: 12px; margin-top: 24px; }
.cta-contacts li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #fdfefe; }
.cta-contacts a { color: #fdfefe; text-decoration: none; }
.cta-contacts a:hover { text-decoration: underline; color: #fdfefe; }
.cta-contacts .i { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(253, 254, 254, .12); color: var(--teal-400); }

.form-card { background: var(--card); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 2vw + 12px, 32px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-title { font-size: 1.3rem; margin-bottom: .3em; }
.form-text { color: var(--muted); font-size: .97rem; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--navy-600); }
.opt { font-weight: 400; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="file"], select, textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: 400 1rem/1.4 var(--font-body); color: var(--ink); background-color: #fdfefe; border: 1px solid var(--navy-200); border-radius: var(--r-sm); transition: border-color .2s, box-shadow .2s; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px var(--teal-300); }
select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23234689' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 8px center; cursor: pointer; }
textarea { resize: vertical; min-height: 110px; }
input[type="file"] { padding: 9px 12px; }
[aria-invalid="true"] { border-color: #b3261e !important; }
.field-err { color: #b3261e; font-size: .88rem; margin: 6px 0 0; }
.form-alert { background: #fdeceb; color: #8c1d18; padding: 10px 14px; border-radius: var(--r-sm); font-size: .95rem; }
.phone-group { display: grid; grid-template-columns: 118px 1fr; gap: 8px; }
.phone-group select { font-size: .95rem; }
.field-check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.field-check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--teal-600); cursor: pointer; }
.field-check label { font-weight: 400; color: var(--muted); font-size: .9rem; margin: 0; cursor: pointer; }
.field-check .field-err { grid-column: 2; }
.rc-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; }
.rc-note a { color: inherit; }
.grecaptcha-badge { visibility: hidden !important; }

.page-hero { background: linear-gradient(160deg, var(--teal-50) 0%, var(--navy-50) 100%); padding: 36px 0 40px; }
.page-hero h1 { margin-bottom: .3em; max-width: 24ch; }
.page-hero .lead { margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--navy-300); }
.crumbs a { color: var(--muted); }
.with-side { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.lead-media { margin-bottom: 28px; }
.lead-media img { aspect-ratio: 16 / 9; }
.spec-head-logo img { height: 72px; width: auto; margin-bottom: 24px; }
.post-meta { color: var(--muted); font-size: .95rem; }
.side-box { margin-top: 24px; padding: 22px; border-radius: var(--r-md); background: var(--navy-50); }
.recent li + li { margin-top: 12px; }
.recent a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.recent a:hover { color: var(--teal-700); }
.recent img { width: 72px; height: 56px; object-fit: cover; border-radius: var(--r-sm); }
.pill-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-grid a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--teal-50); color: var(--navy-600); font-weight: 600; text-decoration: none; min-height: 48px; transition: background-color .2s; }
.pill-grid a:hover { background: var(--teal-200); color: var(--navy-700); }
.pill-grid img { width: 32px; height: 32px; object-fit: contain; background: #fdfefe; border-radius: 50%; padding: 4px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 44px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; text-decoration: none; font-weight: 600; color: var(--navy-600); border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pager a:hover { background: var(--navy-50); }
.pager [aria-current] { background: var(--navy-500); color: #fdfefe; border-color: var(--navy-500); }
.pager .gap { border: 0; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card { padding: 32px; border-radius: var(--r-lg); background: var(--card); }
.vm-card:nth-child(2) { background: var(--navy-50); }
.founder { display: grid; grid-template-columns: minmax(260px, .8fr) 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.founder-media img { aspect-ratio: 4 / 4.6; object-position: top center; }
.quals { font-weight: 600; color: var(--teal-400); }
.founder-light .quals { color: var(--teal-700); }
.sec-dark .prose a { color: var(--teal-400); }
.tick-list { display: grid; gap: 10px; margin-top: 20px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list .i { margin-top: .25em; color: var(--teal-500); }
.cols-2-list { grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.tick-light li { color: #fdfefe; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.team-card { padding: 16px 16px 20px; border-radius: var(--r-md); background: var(--teal-50); }
.team-card:nth-child(even) { background: var(--navy-50); }
.team-img img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: var(--r-sm); margin-bottom: 14px; }
.team-card h3 { margin-bottom: .2em; }
.team-card .role { color: var(--teal-700); font-weight: 600; margin: 0; }
.team-card .quals { color: var(--muted); font-weight: 400; font-size: .9rem; margin: .3em 0 0; }
.team-card details { margin-top: 10px; font-size: .95rem; }
.team-card summary { cursor: pointer; font-weight: 600; color: var(--navy-500); min-height: 24px; }
.closing-img { margin-bottom: clamp(56px, 4vw + 32px, 96px); }
.closing-img img { aspect-ratio: 21 / 8; }

.job-list { display: grid; gap: 14px; }
.job-card a { display: block; padding: 22px; border-radius: var(--r-md); background: var(--teal-50); text-decoration: none; color: inherit; }
.job-card a:hover { background: var(--teal-100); color: inherit; }
.job-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.job-meta span { font-size: .85rem; padding: 4px 10px; border-radius: 99px; background: #fdfefe; color: var(--navy-600); }
.empty { padding: 40px 28px; border-radius: var(--r-lg); background: var(--navy-50); text-align: center; }
.empty .i { width: 40px; height: 40px; color: var(--teal-600); margin-bottom: 12px; }
.empty p { color: var(--muted); max-width: 52ch; margin-inline: auto; }

.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-card { padding: 24px; border-radius: var(--r-md); display: flex; flex-direction: column; gap: 4px; }
.contact-card .i { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: #fdfefe; color: var(--teal-700); margin-bottom: 10px; }
.contact-card h2 { margin-bottom: .2em; }
.contact-card a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-card p { margin: 0; }
.map { margin-top: 24px; border-radius: var(--r-lg); overflow: hidden; background: var(--navy-50); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }

.thanks { min-height: 56vh; display: grid; align-items: center; }
.thanks-ic .i { width: 72px; height: 72px; padding: 18px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); margin-bottom: 20px; }
.thanks .lead { margin-inline: auto; }
.big-num { font: 800 clamp(4rem, 10vw, 7rem)/1 var(--font-head); color: var(--teal-300); margin: 0 0 8px; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.video { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: pointer; background: var(--navy-700); aspect-ratio: 16 / 9; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(1, 17, 59, .88); display: grid; place-items: center; padding: 24px; overscroll-behavior: contain; }
.lightbox img { max-height: 86vh; width: auto; border-radius: var(--r-md); }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fdfefe; color: var(--navy-600); cursor: pointer; display: grid; place-items: center; }

.site-footer { background: var(--navy-700); color: var(--navy-200); padding: 64px 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 38ch; }
.footer-h { font: 700 1rem/1.3 var(--font-head); color: #fdfefe; margin-bottom: 16px; }
.footer-links li + li { margin-top: 8px; }
.site-footer a { color: var(--navy-200); text-decoration: none; }
.site-footer a:hover { color: #fdfefe; text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact li + li { margin-top: 12px; }
.footer-contact .i { margin-top: .25em; color: var(--teal-400); }
.footer-contact span a { display: block; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(253, 254, 254, .08); color: #fdfefe; }
.socials a:hover { background: var(--teal-600); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 20px 0 28px; border-top: 1px solid rgba(253, 254, 254, .12); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-legal .linkish { color: var(--navy-200); text-decoration: none; }
.footer-legal .linkish:hover { color: #fdfefe; text-decoration: underline; }
.landing-footer { padding-top: 0; }

.wa-float { position: fixed; left: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1e8c4e; color: #fdfefe; box-shadow: var(--shadow); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fdfefe; }
.wa-float .i { width: 28px; height: 28px; }
.mobile-bar { display: none; }
.cookie { position: fixed; right: 20px; bottom: 20px; z-index: 60; max-width: 420px; padding: 20px; border-radius: var(--r-md); background: var(--card); box-shadow: 0 12px 40px rgba(6, 30, 78, .2); border: 1px solid var(--line); }
.cookie p { font-size: .93rem; color: var(--muted); }
.cookie-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn { min-height: 44px; padding: .55em 1.1em; font-size: .93rem; }

.is-landing .hero-landing { padding: 40px 0 64px; }
.landing-in { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: clamp(32px, 5vw, 64px); align-items: center; }
.is-landing .header-in .btn span { display: inline; }

@media (max-width: 1080px) {
  .menu-btn { display: inline-flex; }
  .site-header { backdrop-filter: none; background: var(--paper); }
  .nav { position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 16px 20px 32px; background: var(--paper); overflow-y: auto; overscroll-behavior: contain; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list > li > a, .drop-btn { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; }
  .drop, .drop-mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; display: none; }
  .has-drop.is-open .drop { display: block; }
  .drop-mega ul { grid-template-columns: 1fr; }
  .nav-cta { margin-top: 20px; }
  .cols-4, .cols-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .with-side { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .carousel { grid-auto-columns: minmax(280px, calc((100% - 20px) / 2)); }
}
@media (max-width: 860px) {
  .hero-slide, .split, .why, .cta-in, .founder, .landing-in, .vm-grid { grid-template-columns: 1fr; }
  .hero-slide { gap: 24px; }
  .hero-media { order: -1; }
  .hero { padding: 24px 0 40px; }
  .cols-3, .spec-grid, .cols-2 { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .why-media { display: none; }
  .founder-media { max-width: 360px; }
  .contact-cards { grid-template-columns: 1fr; }
  .sec-head-row { flex-wrap: wrap; }
}
@media (max-width: 767px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; padding-bottom: 64px; }
  .hide-sm { display: none !important; }
  .brand img { height: 40px; }
  .topbar-in { justify-content: center; }
  .topbar-right { display: none; }
  .cols-4, .cols-5 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card > a, .card-static, .card-item { padding: 18px; }
  .card-ic { width: 52px; height: 52px; margin-bottom: 12px; }
  .card-ic img { width: 32px; height: 32px; }
  .card-service h3 { font-size: 1rem; }
  .card-service .card-more { display: none; }
  .why-list, .cols-2-list { grid-template-columns: 1fr; }
  .card-row > a { flex-direction: column; }
  .card-row .card-img img { min-height: 0; aspect-ratio: 16 / 9; }
  .carousel { grid-auto-columns: 85%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn-row .btn { flex: 1 1 100%; }
  .phone-group { grid-template-columns: 104px 1fr; }
  .wa-float { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0 0; z-index: 45; padding-bottom: env(safe-area-inset-bottom); background: var(--navy-700); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; color: #fdfefe; text-decoration: none; font-weight: 600; }
  .mobile-bar a + a { background: #1e8c4e; }
  .cookie { left: 12px; right: 12px; bottom: 76px; max-width: none; }
  .is-landing .header-in .btn span { display: none; }
  .is-landing .header-in .btn { width: 48px; padding: 0; }
  .map iframe { height: 300px; }
  .step { padding-left: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
.sec-tint .tint-rotate > :nth-child(4n+1) .card-ic { background: var(--teal-50); }
.creds-intro { margin: 20px 0 0; font-weight: 600; }
