/* ============ MARSF navy / white scheme ============ */
/* Navy #0B2545 sections with white text alternate with white sections with navy text. */

/* links and form messages */
:where(.t-records) a, :where(.t-records) .tn-nested-link { color: #0B2545; }
.t-form__errorbox-wrapper { background-color: #0B2545 !important; }
.t-form__errorbox-wrapper, .t-form__errorbox-wrapper * { color: #ffffff !important; }
.t-input-error { color: #0B2545 !important; font-weight: 600; }
.t-form__successbox { background-color: #0B2545 !important; color: #ffffff !important; }

/* WHITE sections: about, image, why, process, pricing, guide, contact */
.t-rec[data-record-type="467"], .t-rec[data-record-type="3"], .t-rec[data-record-type="1095"],
.t-rec[data-record-type="1106"], .t-rec[data-record-type="1069"], .t-rec[data-record-type="1015"],
.t-rec[data-record-type="60"], .t-rec[data-record-type="678"] { background-color: #ffffff !important; }
.t-rec[data-record-type="467"] *, .t-rec[data-record-type="1095"] *, .t-rec[data-record-type="1106"] *,
.t-rec[data-record-type="1069"] *, .t-rec[data-record-type="60"] *, .t-rec[data-record-type="678"] *,
.t-rec[data-record-type="1272"] .t-menu-base * { color: #0B2545 !important; }

/* NAVY sections: services, stats, featured project, FAQ, footer */
.t-rec[data-record-type="499"], .t-rec[data-record-type="1050"], .t-rec[data-record-type="485"],
.t-rec[data-record-type="664"], .t-rec[data-record-type="464"] { background-color: #0B2545 !important; }
.t-rec[data-record-type="499"] *, .t-rec[data-record-type="1050"] *, .t-rec[data-record-type="485"] *,
.t-rec[data-record-type="664"] *, .t-rec[data-record-type="464"] * { color: #ffffff !important; }

/* hero */
.t-rec[data-record-type="995"] .t-cover { background-color: #0B2545 !important; }
.t-rec[data-record-type="995"] .t-cover__filter { background-image: none !important; background-color: transparent !important; }

/* buttons on white: navy button, white text */
.t-rec[data-record-type="1272"] .t-btn, .t-rec[data-record-type="1069"] .t-btn,
.t-rec[data-record-type="678"] .t-submit {
  background-color: #0B2545 !important; color: #ffffff !important; border: 1px solid #0B2545 !important; border-radius: 30px !important; }
.t-rec[data-record-type="1272"] .t-btn *, .t-rec[data-record-type="1069"] .t-btn *, .t-rec[data-record-type="678"] .t-submit * { color: #ffffff !important; }
/* buttons on navy: white button, navy text */
.t-rec[data-record-type="995"] .t-btn, .t-rec[data-record-type="1015"] .t-submit {
  background-color: #ffffff !important; color: #0B2545 !important; border: 1px solid #ffffff !important; }
.t-rec[data-record-type="995"] .t-btn *, .t-rec[data-record-type="1015"] .t-submit * { color: #0B2545 !important; }
/* hover: swap colours */
.t-rec[data-record-type="1272"] .t-btn:hover, .t-rec[data-record-type="1069"] .t-btn:hover, .t-rec[data-record-type="678"] .t-submit:hover {
  background-color: #ffffff !important; color: #0B2545 !important; }
.t-rec[data-record-type="1272"] .t-btn:hover *, .t-rec[data-record-type="1069"] .t-btn:hover *, .t-rec[data-record-type="678"] .t-submit:hover * { color: #0B2545 !important; }
.t-rec[data-record-type="995"] .t-btn:hover, .t-rec[data-record-type="1015"] .t-submit:hover {
  background-color: #0B2545 !important; color: #ffffff !important; }
.t-rec[data-record-type="995"] .t-btn:hover *, .t-rec[data-record-type="1015"] .t-submit:hover * { color: #ffffff !important; }

/* guide card (navy card on white section) */
.t-rec[data-record-type="1015"] .t1015__content { background-image: none !important; background-color: rgba(11, 37, 69, .9) !important; }
.t-rec[data-record-type="1015"] .t1015__content * { color: #ffffff !important; }
.t-rec[data-record-type="1015"] .t1015__content .t-submit, .t-rec[data-record-type="1015"] .t1015__content .t-submit * { color: #0B2545 !important; }
.t-rec[data-record-type="1015"] .t-input { color: #0B2545 !important; }

/* contact form inputs */
.t-rec[data-record-type="678"] .t-input, .t-rec[data-record-type="678"] .t-select,
.t-rec[data-record-type="678"] .t-input-phonemask__wrap { border-color: #0B2545 !important; color: #0B2545 !important; border-radius: 8px !important; }

/* details */
.t-rec[data-record-type="1050"] .t1050__line { border-color: rgba(255, 255, 255, .45) !important; }
.t-rec[data-record-type="1106"] .t1106__number { background-color: #0B2545 !important; border-color: #0B2545 !important; }
.t-rec[data-record-type="1106"] .t1106__number, .t-rec[data-record-type="1106"] .t1106__number * { color: #ffffff !important; }
.t-rec[data-record-type="1106"] .t1106__line { background-color: rgba(11, 37, 69, .2) !important; }
.t-rec[data-record-type="1069"] .t1069__content { border-color: rgba(11, 37, 69, .2) !important; }
.t-rec[data-record-type="664"] * { border-color: rgba(255, 255, 255, .25) !important; }
.t-rec[data-record-type="664"] svg, .t-rec[data-record-type="664"] svg * { stroke: #ffffff !important; }
.t-rec[data-record-type="499"] .t499__img { background-color: transparent !important; border: 1px solid rgba(255, 255, 255, .45) !important; border-radius: 50% !important; padding: 24px !important; box-sizing: border-box !important; }

/* FAQ: question hover = light background, black text */
.t-rec[data-record-type="664"] .t664__wrapper:hover, .t-rec[data-record-type="664"] .t664__wrapper:hover * { color: #000000 !important; }
.t-rec[data-record-type="664"] .t664__wrapper:hover svg, .t-rec[data-record-type="664"] .t664__wrapper:hover svg * { stroke: #000000 !important; }

/* hero: space between title and button (no subtitle) */
.t-rec[data-record-type="995"] .t995__content-wrapper .t-btn { margin-top: 40px !important; }

/* menu logo: navy #0B2545 instead of black (logo shape used as mask) */
.t-rec[data-record-type="1272"] img.t-menu-base__imglogo { background-color: #0B2545 !important; -webkit-mask: url("https://static.tildacdn.net/tild6365-6563-4837-b236-396137333666/marsf_full_logo.png") center / 100% 100% no-repeat; mask: url("https://static.tildacdn.net/tild6365-6563-4837-b236-396137333666/marsf_full_logo.png") center / 100% 100% no-repeat; object-position: -99999px 0 !important; }

/* animated hero: hide the static JPG (the SVG/CSS animation replaces it, nothing to download) */
.t-rec[data-record-type="995"] .t-cover, .t-rec[data-record-type="995"] .t-cover__carrier { background-image: none !important; }
img[data-original*="marsf-case-oceanfron"], img[src*="marsf-case-oceanfron"] { opacity: 0; }

/* consent checkbox in forms: readable label, underlined policy link */
.t-checkbox__control span { font-size: 14px !important; line-height: 1.45 !important; }
.t-checkbox__control a { text-decoration: underline !important; }

/* header menu: 6 sections + languages in one line (address is in the footer) */
@media (min-width: 981px) {
  .t-rec[data-record-type="1272"] .t-menu-base__right_descr p:nth-of-type(2) { display: none !important; }
  .t-rec[data-record-type="1272"] .t-menu-base__list { flex-wrap: nowrap !important; column-gap: 16px !important; }
  .t-rec[data-record-type="1272"] .t-menu-base__list-item { white-space: nowrap; }
}
@media (min-width: 1280px) { .t-rec[data-record-type="1272"] .t-menu-base__list { column-gap: 26px !important; } }
