/* TDrone Phase 0 concept - design system.
   Brand tokens are the live site's own: Rubik, navy #0A1F44, blue #0056FF, light blue-grey #D1D9E6, white,
   plus the two existing section colours from the live site (checklist yellow #FFD600, light surface #F4F7FA).
   Breakpoints = Wix Harmony: desktop >=1001, tablet 751-1000, mobile <=750. Spacing on an 8px grid. */

:root {
  --navy: #0A1F44;
  --blue: #0056FF;
  --blue-grey: #D1D9E6;
  --white: #FFFFFF;
  --yellow: #FFD600;
  --surface: #F4F7FA;
  --text: #0A1F44;
  --text-muted: rgba(10, 31, 68, .78);
  --line: #D1D9E6;
  --overlay: linear-gradient(270deg, rgba(10, 31, 68, .82) 0%, rgba(10, 31, 68, .55) 45%, rgba(10, 31, 68, .25) 100%);
  --overlay-mobile: linear-gradient(0deg, rgba(10, 31, 68, .85) 0%, rgba(10, 31, 68, .55) 60%, rgba(10, 31, 68, .35) 100%);

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s7: 56px; --s8: 64px; --s10: 80px; --s12: 96px;
  --radius: 12px; --radius-lg: 16px; --pill: 999px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 68, .06), 0 1px 3px rgba(10, 31, 68, .06);
  --shadow-md: 0 8px 24px rgba(10, 31, 68, .10);

  --fs-h1: clamp(2.25rem, 1.4rem + 3.4vw, 4.25rem);
  --fs-h2: clamp(1.75rem, 1.2rem + 2.1vw, 2.875rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
  --fs-lead: clamp(1.0625rem, 1rem + .4vw, 1.3125rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;

  --container: 1200px;
  --gutter: 24px;
  --header-h: 80px;
  --section-y: var(--s12);
}

@media (max-width: 1000px) { :root { --section-y: var(--s10); --header-h: 72px; } }
@media (max-width: 750px) { :root { --section-y: var(--s7); --gutter: 16px; --header-h: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: "Rubik", "Arial Hebrew", Arial, sans-serif; font-weight: 400;
  font-size: var(--fs-body); line-height: 1.6; color: var(--text); background: var(--white);
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
picture { display: contents; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; color: inherit; letter-spacing: 0; }
h1 { font-size: var(--fs-h1); line-height: 1.12; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
p { margin: 0 0 var(--s2); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
.accent { color: var(--blue); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .hero :focus-visible, .section--navy :focus-visible, .lp-hero :focus-visible { outline-color: var(--yellow); }
.skip-link { position: absolute; top: -100px; right: 16px; background: var(--navy); color: var(--white); padding: 12px 20px; border-radius: var(--pill); z-index: 200; }
.skip-link:focus { top: 12px; color: var(--white); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-muted); }
.eyebrow { display: inline-block; font-size: var(--fs-small); font-weight: 500; color: var(--blue); margin-bottom: var(--s1); }

/* ---------- Buttons (pill, as live) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 28px; border-radius: var(--pill); border: 2px solid var(--blue);
  background: var(--blue); color: var(--white); font: inherit; font-weight: 500; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { background: var(--navy); border-color: var(--navy); color: var(--white); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--blue); }
.btn--outline:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn--white { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn--ghost-light { background: transparent; border-color: var(--white); color: var(--white); }
.btn--ghost-light:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn--sm { min-height: 44px; padding: 10px 22px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: var(--s4); height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.main-nav { flex: 1; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: clamp(16px, 2.6vw, 40px); }
.main-nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 1.0625rem; padding: 8px 2px; position: relative; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--blue); }
.header-cta { flex: none; }
.nav-toggle { display: none; margin-inline-start: auto; width: 48px; height: 48px; border: 0; background: transparent; color: var(--navy); border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle .i-close { display: none; }
.nav-open .nav-toggle .i-open { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.mobile-nav { display: none; }
@media (max-width: 1000px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .brand img { height: 40px; }
  .mobile-nav { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--white); padding: var(--s3) var(--gutter) var(--s6); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; z-index: 99; }
  .nav-open .mobile-nav { opacity: 1; transform: none; visibility: visible; transition: opacity .2s, transform .2s; }
  .mobile-nav ul { list-style: none; margin: 0 0 var(--s4); padding: 0; }
  .mobile-nav li + li { border-top: 1px solid var(--line); }
  .mobile-nav a:not(.btn) { display: block; padding: 16px 4px; color: var(--navy); font-size: 1.25rem; font-weight: 500; text-decoration: none; }
  .mobile-nav a[aria-current="page"] { color: var(--blue); }
}
@media (max-width: 750px) { .brand img { height: 36px; } }

/* landing-page minimal header */
.lp-header .header-inner { justify-content: space-between; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 500; text-decoration: none; margin-inline-start: auto; }
.header-phone:hover { color: var(--blue); }
@media (max-width: 750px) { .lp-header .header-cta { display: none; } .header-phone .num { display: none; } .header-phone { width: 44px; height: 44px; justify-content: center; border: 2px solid var(--blue); border-radius: var(--pill); color: var(--blue); } }
@media (min-width: 751px) and (max-width: 1000px) { .lp-header .header-cta { display: inline-flex; } }

/* ---------- Hero (video / photo background) ---------- */
.hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate; }
.hero__media, .hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media { z-index: -2; }
.hero__overlay { position: absolute; inset: 0; background: var(--overlay); z-index: -1; }
.hero__inner { min-height: min(86vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-block: var(--s12); }
.hero--page .hero__inner { min-height: min(62vh, 560px); padding-block: var(--s10); }
.hero__content { max-width: 720px; }
.hero h1 { margin-bottom: var(--s3); text-wrap: balance; }
.hero .lead { color: rgba(255, 255, 255, .92); margin-bottom: var(--s4); max-width: 620px; }
.hero__toggle {
  position: absolute; bottom: var(--s3); left: var(--s3); width: 44px; height: 44px; border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, .7); background: rgba(10, 31, 68, .45); color: var(--white); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; z-index: 2;
}
.hero__toggle:hover { background: var(--blue); border-color: var(--blue); }
.hero__toggle .icon { width: 18px; height: 18px; }
.hero__toggle .i-play { display: none; }
.hero__toggle[aria-pressed="true"] .i-play { display: block; }
.hero__toggle[aria-pressed="true"] .i-pause { display: none; }
.hero-contact { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-top: var(--s4); }
.hero-contact a { color: var(--white); display: inline-flex; align-items: center; gap: 10px; font-size: 1.125rem; font-weight: 500; text-decoration: none; }
.hero-contact a:hover { color: var(--yellow); }
@media (max-width: 750px) {
  .hero__overlay { background: var(--overlay-mobile); }
  .hero__inner { min-height: 0; padding-block: var(--s10) var(--s8); }
  .hero--home .hero__inner { min-height: calc(100svh - var(--header-h) - 64px - 72px); justify-content: flex-end; }
  .hero__toggle { display: none; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}
/* hero video: desktop/tablet only; the poster image is the mobile hero */
.hero__media video { display: none; }
@media (min-width: 751px) { .hero__media video.is-ready { display: block; } }

/* Inset photo hero (About keeps the live inset banner composition) */
.hero--inset { background: transparent; color: var(--white); padding-top: var(--s5); }
.hero--inset .hero__frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; background: var(--navy); }
.hero--inset .hero__inner { min-height: 440px; padding-inline: clamp(24px, 5vw, 72px); }
@media (max-width: 750px) { .hero--inset { padding-top: var(--s3); } .hero--inset .hero__inner { min-height: 360px; padding-inline: var(--s3); } }

/* Navy page head (knowledge, legal, article) */
.page-head { background: var(--navy); color: var(--white); padding-block: var(--s10) var(--s8); }
.page-head h1 { max-width: 900px; text-wrap: balance; }
.page-head .meta { margin-top: var(--s2); color: rgba(255, 255, 255, .8); font-size: var(--fs-small); }
.page-head .crumb { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .85); text-decoration: none; font-weight: 500; margin-bottom: var(--s3); font-size: var(--fs-small); }
.page-head .crumb:hover { color: var(--yellow); }
.page-head .crumb .icon { width: 16px; height: 16px; transform: scaleX(-1); }
@media (max-width: 750px) { .page-head { padding-block: var(--s7) var(--s6); } }

/* ---------- Trust badge strip ---------- */
.badges { background: var(--navy); color: var(--white); border-top: 1px solid rgba(255, 255, 255, .12); }
.badges ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.badges li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 16px; font-weight: 500; font-size: 1.125rem; }
.badges li + li { border-inline-start: 1px solid rgba(255, 255, 255, .18); }
.badges .icon { width: 26px; height: 26px; color: var(--white); stroke-width: 1.75; }
@media (max-width: 750px) {
  .badges ul { grid-template-columns: 1fr; padding-block: 8px; }
  .badges li { justify-content: flex-start; padding: 12px 4px; font-size: 1rem; }
  .badges li + li { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy .lead, .section--navy p { color: rgba(255, 255, 255, .9); }
.section--yellow { background: var(--yellow); color: var(--navy); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s6); flex-wrap: wrap; }
.section-head h2 { max-width: 820px; text-wrap: balance; }
.section-head .lead { margin-top: var(--s2); max-width: 720px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-foot { margin-top: var(--s6); display: flex; justify-content: center; }
@media (max-width: 750px) { .section-head { margin-bottom: var(--s4); } .section-foot { margin-top: var(--s4); } .section-foot .btn { width: 100%; } }

/* ---------- Cards (repeater style) ---------- */
.grid { display: grid; gap: var(--s4); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 750px) { .grid--3, .grid--2 { grid-template-columns: 1fr; gap: var(--s3); } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: box-shadow .25s, transform .25s; position: relative; }
.card:hover { box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: var(--s3) var(--s3) var(--s4); display: flex; flex-direction: column; gap: var(--s1); flex: 1; }
.card__body h2, .card__body h3 { font-size: 1.375rem; }
.card__body p { color: var(--text-muted); }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; }
.card__link:hover { color: var(--blue); }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }
.card__more { margin-top: auto; padding-top: var(--s2); display: inline-flex; align-items: center; gap: 6px; color: var(--blue); font-weight: 500; }
.card__more .icon { width: 18px; height: 18px; }
.services-cards .card__media { aspect-ratio: 4 / 4.2; }
@media (max-width: 750px) { .services-cards .card__media { aspect-ratio: 4 / 3; } }

/* ---------- Why TDrone icon row ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); text-align: center; }
.feature { padding: var(--s4) var(--s3); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.feature img { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto var(--s3); object-fit: cover; border: 1px solid var(--line); }
.feature h3 { font-size: 1.375rem; margin-bottom: var(--s1); }
.feature p { color: var(--text-muted); }
@media (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 750px) { .features { grid-template-columns: 1fr; gap: var(--s2); }
  .feature { display: grid; grid-template-columns: 72px 1fr; gap: 4px var(--s2); text-align: start; padding: var(--s3); align-items: center; }
  .feature img { width: 72px; height: 72px; margin: 0; grid-row: span 2; }
  .feature h3 { margin: 0; align-self: end; } .feature p { align-self: start; } }

/* ---------- Process steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: none; }
.step { padding: var(--s1) var(--s3) var(--s2); position: relative; }
.step + .step { border-inline-start: 1px solid var(--line); }
.step__num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 700; font-size: 1.25rem; margin-bottom: var(--s3); }
.step h3 { font-size: 1.25rem; margin-bottom: var(--s1); }
.step p { color: var(--text-muted); font-size: 1rem; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 4px var(--s3); padding: 0 0 var(--s4); }
  .step + .step { border-inline-start: 0; }
  .step__num { grid-row: span 2; margin: 0; position: relative; z-index: 1; }
  .step:not(:last-child)::before { content: ""; position: absolute; top: 48px; bottom: 0; right: 23px; width: 2px; background: var(--line); }
  .step h3 { align-self: center; } }

/* ---------- Checklist block (yellow, as live) ---------- */
.checklist { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s6); align-items: center; }
.tag-pill { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 18px; border-radius: var(--pill); background: var(--navy); color: var(--white); font-weight: 500; font-size: var(--fs-small); margin-bottom: var(--s3); }
.checklist h2 { margin-bottom: var(--s3); }
.checklist p { font-size: 1.125rem; }
.checklist .btn-row { justify-content: flex-start; }
.checklist__aside { display: flex; flex-direction: column; gap: var(--s2); align-items: stretch; }
.checklist__aside .btn { width: 100%; }
.section--yellow a:not(.btn) { color: var(--navy); font-weight: 500; }
.section--yellow a:not(.btn):hover { color: var(--blue); }
.section--yellow .btn { background: var(--navy); border-color: var(--navy); }
.section--yellow .btn:hover { background: var(--blue); border-color: var(--blue); }
@media (max-width: 1000px) { .checklist { grid-template-columns: 1fr; gap: var(--s4); } }

/* ---------- Forms ---------- */
.contact-band { position: relative; color: var(--white); isolation: isolate; background: var(--navy); }
.contact-band .hero__media img { object-fit: cover; }
.contact-band__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: var(--s8); align-items: start; padding-block: var(--section-y); }
.contact-band__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-band__intro p { color: rgba(255, 255, 255, .92); font-size: var(--fs-lead); margin-bottom: 0; }
.contact-band__intro h2, .contact-band__intro h1 { margin-bottom: var(--s3); }
.contact-list { list-style: none; padding: 0; margin: var(--s5) 0 0; display: grid; gap: var(--s2); }
.contact-list a { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font-size: 1.1875rem; font-weight: 500; }
.contact-list a:hover { color: var(--yellow); }
.contact-list .ico { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 1000px) { .contact-band__grid { grid-template-columns: 1fr; gap: var(--s5); } .contact-band__intro { position: static; } }

.form-card { background: var(--white); color: var(--navy); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-md); }
.form-card--flat { box-shadow: none; border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--s3) var(--s2); align-items: end; }
.f-12 { grid-column: span 12; } .f-7 { grid-column: span 7; } .f-5 { grid-column: span 5; } .f-6 { grid-column: span 6; } .f-4 { grid-column: span 4; } .f-8 { grid-column: span 8; }
@media (max-width: 750px) { .form-grid > * { grid-column: span 12; } }
.field label, .field legend { display: block; font-weight: 500; font-size: .9375rem; margin-bottom: 8px; color: var(--navy); padding: 0; }
.req { color: var(--blue); margin-inline-start: 2px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #9AA6BC; border-radius: 10px; background: var(--white);
  font: inherit; font-size: 1rem; color: var(--navy); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 86, 255, .2); }
.field input[dir="ltr"] { text-align: right; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #B00020; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px var(--s3); }
.field .check { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 400; cursor: pointer; min-height: 32px; margin: 0; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--blue); flex: none; }
.field.is-invalid legend { color: #B00020; }
.field.is-invalid .check input { outline: 2px solid #B00020; outline-offset: 1px; }
@media (max-width: 750px) { .checks { grid-template-columns: 1fr; } }
.form-actions { grid-column: span 12; }
.form-notice { grid-column: span 12; display: none; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
.form-notice.is-shown { display: flex; }
.form-notice .icon { color: var(--blue); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.split + .split { margin-top: var(--s10); }
.split--flip .split__media { order: -1; }
.split__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split__media--tall img { aspect-ratio: 4 / 5; }
.split__text h2, .split__text h3 { margin-bottom: var(--s3); }
@media (max-width: 1000px) { .split { grid-template-columns: 1fr; gap: var(--s4); } .split--flip .split__media { order: 0; } .split + .split { margin-top: var(--s8); } }

/* services detail */
.svc-num { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--blue); color: var(--blue); font-weight: 700; font-size: 1.25rem; margin-bottom: var(--s2); }
.svc-desc { font-size: 1.125rem; color: var(--text-muted); margin-bottom: var(--s3); }
.adv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.adv-list li { padding: 14px 16px; border-radius: var(--radius); background: var(--surface); border-inline-start: 3px solid var(--blue); }
.section--surface .adv-list li { background: var(--white); }

/* ---------- Project galleries ---------- */
.project + .project { margin-top: var(--s10); padding-top: var(--s10); border-top: 1px solid var(--line); }
.project__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s4); align-items: end; margin-bottom: var(--s4); }
.project__head h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.project__head p { color: var(--text-muted); font-size: 1.0625rem; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s2); }
.gallery--3 { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface); cursor: zoom-in; aspect-ratio: 3 / 4; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.tile:hover img { transform: scale(1.04); }
.tile--video { cursor: pointer; }
.tile__play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(10, 31, 68, .72); color: var(--white); display: flex; align-items: center; justify-content: center; transition: background-color .2s, transform .2s; }
.tile__play .icon { width: 26px; height: 26px; fill: currentColor; stroke: none; transform: translateX(-2px); }
.tile:hover .tile__play { background: var(--blue); transform: scale(1.05); }
@media (max-width: 1000px) { .gallery, .gallery--3 { grid-template-columns: repeat(2, 1fr); } .project__head { grid-template-columns: 1fr; gap: var(--s2); } }
@media (max-width: 750px) { .project + .project { margin-top: var(--s7); padding-top: var(--s7); } .gallery { gap: 10px; } }

/* ---------- Pillars (Why) ---------- */
.pillar .card__media { aspect-ratio: 4 / 3; }
.pillar .card__media--doc { background: var(--white); border-bottom: 1px solid var(--line); display: block; width: 100%; padding: 12px; border-width: 0 0 1px; cursor: zoom-in; position: relative; }
.pillar .card__media--doc img { object-fit: contain; width: 100%; height: 100%; }
.zoom-hint { position: absolute; bottom: 10px; left: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center; }
.zoom-hint .icon { width: 18px; height: 18px; }
.pillar .card__body p { color: var(--text-muted); }

/* why checks (yellow) */
.check-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.check-items li { background: var(--white); border-radius: var(--radius-lg); padding: var(--s4) var(--s3); display: flex; flex-direction: column; gap: var(--s2); }
.check-items .ico { width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--blue); color: var(--blue); display: inline-flex; align-items: center; justify-content: center; }
.check-items .icon { width: 26px; height: 26px; stroke-width: 2.5; }
.checks-intro { font-size: var(--fs-lead); font-weight: 700; max-width: 900px; margin-bottom: var(--s5); line-height: 1.45; }
@media (max-width: 1000px) { .check-items { grid-template-columns: 1fr; } .check-items li { flex-direction: row; align-items: flex-start; } .check-items .ico { flex: none; } }

/* permit proof */
.proof-doc { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s6); align-items: center; }
.doc-frame { display: block; width: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s2); cursor: zoom-in; position: relative; box-shadow: var(--shadow-sm); }
.doc-frame img { width: 100%; height: auto; }
@media (max-width: 1000px) { .proof-doc { grid-template-columns: 1fr; gap: var(--s4); } }

/* ---------- Knowledge ---------- */
.post-card .card__media { aspect-ratio: 16 / 10; }
.post-card h2, .post-card h3 { font-size: 1.3125rem; line-height: 1.35; }
.resources { border-top: 1px solid var(--line); }
.resource { display: grid; grid-template-columns: 160px 1fr auto; gap: var(--s3); align-items: center; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.resource__type { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-weight: 500; }
.resource__title { font-size: 1.125rem; font-weight: 500; margin: 0; }
@media (max-width: 750px) { .resource { grid-template-columns: 1fr; gap: var(--s1); } .resource .btn { justify-self: start; margin-top: var(--s1); } }

/* ---------- Legal ---------- */
.legal { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--s8); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); background: var(--surface); border-radius: var(--radius-lg); padding: var(--s3); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.toc a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--navy); text-decoration: none; font-size: .9375rem; line-height: 1.4; }
.toc a:hover, .toc a.is-active { background: var(--white); color: var(--blue); }
.prose { max-width: 47.5rem; font-size: 1.0625rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); margin: var(--s6) 0 var(--s2); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.25em; margin: 0 0 var(--s2); }
.prose li { margin-bottom: 10px; }
.prose li::marker { color: var(--blue); }
.prose .contact-note { margin-top: var(--s6); padding: var(--s3); background: var(--surface); border-radius: var(--radius); }
@media (max-width: 1000px) { .legal { grid-template-columns: 1fr; gap: var(--s5); } .toc { position: static; } }

/* ---------- Article ---------- */
.article-cover { margin-top: calc(-1 * var(--s6)); }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.article { max-width: 760px; margin-inline: auto; font-size: 1.125rem; line-height: 1.8; }
.article h2 { font-size: clamp(1.375rem, 1.2rem + .7vw, 1.875rem); line-height: 1.3; margin: var(--s7) 0 var(--s2); }
.article .intro { font-size: var(--fs-lead); color: var(--navy); }
.article figure { margin: var(--s6) 0; }
.article figure img { border-radius: var(--radius-lg); width: 100%; max-height: 720px; object-fit: contain; background: var(--surface); }
.article figcaption { text-align: center; font-size: var(--fs-small); color: var(--text-muted); margin-top: var(--s1); }
.article .flag { background: var(--surface); border-inline-start: 4px solid var(--navy); padding: 14px 18px; border-radius: var(--radius); }
.article .callout { margin-top: var(--s7); padding: var(--s4); border-radius: var(--radius-lg); background: var(--navy); color: var(--white); }
.article .callout h2 { margin-top: 0; }
.article .callout a { color: var(--yellow); }
@media (max-width: 750px) { .article-cover { margin-top: calc(-1 * var(--s4)); } .article-cover img { aspect-ratio: 4 / 3; } .article { font-size: 1.0625rem; } }

/* ---------- Partnerships list ---------- */
.ticks { list-style: none; margin: var(--s3) 0 var(--s4); padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .icon { width: 22px; height: 22px; color: var(--yellow); margin-top: 3px; stroke-width: 2.5; }
.section:not(.section--navy) .ticks .icon { color: var(--blue); }

/* ---------- Landing pages ---------- */
.lp-hero { background: var(--navy); color: var(--white); overflow: hidden; }
.lp-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s8); align-items: center; padding-block: var(--s10); }
.lp-hero h1 { margin-bottom: var(--s3); text-wrap: balance; }
.lp-hero .lead { color: rgba(255, 255, 255, .92); margin-bottom: var(--s4); }
.lp-hero__media { border-radius: var(--radius-lg); overflow: hidden; max-width: 480px; justify-self: end; width: 100%; box-shadow: 0 20px 48px rgba(0, 0, 0, .35); }
.lp-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 1000px) { .lp-hero__grid { grid-template-columns: 1fr; gap: var(--s5); padding-block: var(--s7); } .lp-hero__media { justify-self: stretch; max-width: none; } .lp-hero__media img { aspect-ratio: 4 / 3; } }
@media (max-width: 750px) { .lp-hero .btn-row .btn { width: 100%; } }
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3); }
.benefits--3 { grid-template-columns: repeat(3, 1fr); }
.benefits li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s4) var(--s3); display: flex; flex-direction: column; gap: var(--s2); }
.benefits .num { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: var(--white); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: 1.125rem; }
@media (max-width: 1000px) { .benefits, .benefits--3 { grid-template-columns: 1fr; } .benefits li { flex-direction: row; align-items: flex-start; } .benefits .num { flex: none; } }

/* FAQ accordion */
.faq { max-width: 880px; margin-inline: auto; display: grid; gap: var(--s2); }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); font-weight: 700; font-size: 1.1875rem; line-height: 1.4; border-radius: var(--radius-lg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .2s; color: var(--blue); width: 24px; height: 24px; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover { color: var(--blue); }
.faq .answer { padding: 0 24px 24px; color: var(--text-muted); }
.faq .answer a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; margin-top: var(--s1); }
.faq .answer a .icon { width: 16px; height: 16px; }

/* ---------- Mobile pinned CTA bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 750px) {
  .mobile-bar { display: grid; grid-template-columns: auto 1fr; gap: 10px; position: fixed; inset-inline: 0; bottom: 0; z-index: 90; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(10, 31, 68, .08); }
  .mobile-bar .btn { min-height: 48px; }
  .mobile-bar .btn--outline { padding-inline: 16px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding-block: var(--s8) var(--s4); font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr repeat(4, 1fr); gap: var(--s5); }
.footer-grid h2 { font-size: 1.0625rem; margin-bottom: var(--s2); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--navy); text-decoration: none; }
.footer-grid a:hover { color: var(--blue); text-decoration: underline; }
.footer-brand img { height: 52px; width: auto; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--blue); }
.social { display: flex; gap: 12px; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--navy); transition: background-color .2s, transform .2s; }
.social a:hover { background: var(--blue); transform: scale(1.05); }
.social svg { width: 24px; height: 24px; }
.footer-bottom { margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid var(--line); color: var(--text-muted); font-size: var(--fs-small); }
.footer-lp { padding-block: var(--s6) var(--s4); }
.footer-lp .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
@media (max-width: 1000px) { .footer-grid, .footer-lp .footer-grid { grid-template-columns: repeat(2, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 750px) { .site-footer { padding-block: var(--s7) var(--s3); } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 16, 36, .94); display: none; align-items: center; justify-content: center; padding: 64px 72px; }
.lightbox.is-open { display: flex; }
.lightbox__stage { max-width: 100%; max-height: 100%; display: flex; align-items: center; justify-content: center; }
.lightbox__stage img, .lightbox__stage video { max-width: min(1600px, 100%); max-height: calc(100vh - 128px); width: auto; height: auto; border-radius: 8px; background: #000; }
.lightbox__stage img.is-doc { background: var(--white); max-height: calc(100vh - 128px); }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); background: rgba(10, 31, 68, .6); color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-btn:hover { background: var(--blue); border-color: var(--blue); }
.lb-close { top: 12px; left: 12px; }
.lb-prev { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; inset-inline: 0; text-align: center; color: rgba(255, 255, 255, .85); font-size: var(--fs-small); direction: ltr; }
@media (max-width: 750px) { .lightbox { padding: 64px 8px 72px; } .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } .lb-prev { right: 16px; } .lb-next { left: 16px; } }

/* ---------- Concept badge (demo only, not part of the Wix build) ----------
   A slim vertical tab inside the left page gutter, so it never covers content or the mobile CTA bar. */
.concept { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 95; direction: rtl; }
.concept__btn { display: flex; align-items: center; gap: 6px; writing-mode: vertical-rl; width: 22px; padding: 12px 0; border: 1px solid #5A6478; border-left: 0; border-radius: 0 6px 6px 0; background: #FFFFFF; color: #2B3240; font: inherit; font-size: 11px; font-weight: 500; line-height: 20px; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .14); opacity: .9; }
.concept__btn:hover, .concept.is-open .concept__btn { opacity: 1; }
.concept__btn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #5A6478; }
.concept__panel { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); min-width: 260px; background: #FFFFFF; border: 1px solid #C9CED8; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); padding: 6px; display: none; }
.concept.is-open .concept__panel { display: block; }
.concept__panel a { display: block; padding: 10px 12px; border-radius: 6px; color: #2B3240; text-decoration: none; font-size: 14px; }
.concept__panel a:hover, .concept__panel a:focus-visible { background: #EEF1F5; }
@media (max-width: 750px) { .concept__btn { width: 16px; font-size: 10px; line-height: 14px; padding: 10px 0; gap: 4px; } .concept__btn::before { width: 5px; height: 5px; } .concept__panel { min-width: 230px; } }
/* ---------- Entrance animation (once, <=600ms, reduced-motion safe) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
