/* Tabsy brand, November 2026 (docs/brand/BRAND-GUIDE.md).
 *
 * Loaded after style.min.css, so it re-points the theme (its pink
 * --color-primary and the blue-purple-pink gradient) at the brand palette
 * without editing the minified/purged theme build.
 *
 *   Blueprint Navy  #0F2740  ink, dark sections, primary buttons (white text)
 *   Signal Teal     #2E9BB5  graphics only, never body text (3.2:1 on white)
 *   Loop Teal       #3FB0CB  teal on navy
 *   Deep Teal       #1D6F84  links, outlined buttons, teal text
 *   Lead Orange     #F07B2B  accent shapes; text only on navy (5.5:1)
 *   Drafting Paper  #EEF5F8  page and card ground
 *   Muted text      #52657A
 *
 * Type is separate (partials/brand_type.html) so it can be switched back on
 * its own: the owner has not ruled on Outfit + Inter yet.
 */
:root {
  --color-primary: #1D6F84;
  --color-secondary: #2E9BB5;
  --color-secondary-rgb: rgba(29, 111, 132, 1);
  --color-heading: #0F2740;
  --color-body: #0F2740;
  --color-gray: #52657A;
  --color-info: #2E9BB5;
  --brand-navy: #0F2740;
  --brand-teal: #2E9BB5;
  --brand-loop-teal: #3FB0CB;
  --brand-deep-teal: #1D6F84;
  --brand-orange: #F07B2B;
  --brand-paper: #EEF5F8;
  --brand-muted: #52657A;
}

a { color: var(--brand-deep-teal); }

/* Primary button: navy ground, white text. Secondary: Deep Teal outline. */
a.btn-default, button.btn-default {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: #fff;
}
a.btn-default:hover, button.btn-default:hover {
  background: transparent;
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}
a.btn-default.btn-border, button.btn-default.btn-border {
  background: transparent;
  border-color: var(--brand-deep-teal);
  color: var(--brand-deep-teal);
}
a.btn-default.btn-border:hover, button.btn-default.btn-border:hover {
  background: var(--brand-deep-teal);
  border-color: var(--brand-deep-teal);
  color: #fff;
}

/* Headlines: the theme's gradient text becomes solid ink. */
.theme-gradient, .section-title span.subtitle {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  color: var(--brand-navy);
}
.section-title span.subtitle { color: var(--brand-deep-teal); }

/* ---- Dark grounds: photo heroes, the navy header bar, footer, sticky bar ---- */
.header-area .theme-gradient,
[data-black-overlay] .theme-gradient,
.bg_color--6 .theme-gradient { color: #fff; }

/* A navy button disappears on navy or a dark photo: there the primary button
   is white with navy text, and the outline button is white. */
[data-black-overlay] a.btn-default:not(.btn-border),
.bg_color--6 a.btn-default:not(.btn-border),
.tabsy-sticky-cta a.btn-default,
.header-area a.btn-default:not(.btn-border),
.header-area button.btn-default:not(.btn-border) {
  background: #fff;
  border-color: #fff;
  color: var(--brand-navy);
}
[data-black-overlay] a.btn-default:not(.btn-border):hover,
.bg_color--6 a.btn-default:not(.btn-border):hover,
.tabsy-sticky-cta a.btn-default:hover,
.header-area a.btn-default:not(.btn-border):hover,
.header-area button.btn-default:not(.btn-border):hover {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
[data-black-overlay] a.btn-default.btn-border,
.bg_color--6 a.btn-default.btn-border {
  border-color: #fff;
  color: #fff;
}
[data-black-overlay] a.btn-default.btn-border:hover,
.bg_color--6 a.btn-default.btn-border:hover {
  background: #fff;
  color: var(--brand-navy);
}
/* Theme icons (feather SVGs coloured by --color-primary) on dark grounds. */
[data-black-overlay] .icon, [data-black-overlay] .icon svg,
.bg_color--6 .icon, .bg_color--6 .icon svg { color: var(--brand-loop-teal); stroke: var(--brand-loop-teal); }

/* The footer and the theme's dark sections are brand navy, not near-black. */
.bg_color--6, .footer-area.bg_color--6 { background-color: var(--brand-navy) !important; }

/* Sticky bar "30 days free": Lead Orange is fine as text on navy. */
.tabsy-sticky-cta strong { color: var(--brand-orange) !important; }

/* Logos. Each is shown at exactly the height of a drawn file (32 or 64 px)
   with the twice-size file for sharp screens: the guide forbids showing a
   scaled-down larger file. Sized by height so the lockup keeps its shape. */
.header-area .logo a img { height: 64px; width: auto; max-height: none; }
@media (max-width: 767px) { .header-area .header-wrapper .logo a img { height: 32px; width: auto !important; } }
.ft-text .logo img, .rn-popup-mobile-menu .logo img { height: 32px; width: auto; max-height: none; }
.brand-product-lockup { display: block; height: 32px; width: auto; margin-bottom: 18px; }

/* Page ground: Drafting Paper in place of the theme's light greys. */
.bg_color--1 { background-color: #fff; }
.bg_color--5, .bg_color--7 { background-color: var(--brand-paper); }

/* Heroes that open with a product lockup (/express, /lpm): on phones the
   header floats over the hero, so start the content below it. */
@media (max-width: 991px) {
  .slider-fixed--height:has(.brand-product-lockup) { padding-top: 110px !important; }
}

/* Card titles inside a dark photo hero (home: Client Management, Estimates &
   Contracts, Invoicing & Payments) took the navy heading colour and vanished
   into the photo. */
[data-black-overlay] .service .content .title { color: #fff; }

/* The slogan (owner 2026-11-27): Outfit 600, white on navy or a dark photo,
   navy on light. Home hero, under the headline; footer, under the logo. */
.tabsy-slogan {
  font-family: 'Montserrat', 'Montserrat Fallback', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--brand-navy);
}
[data-black-overlay] .tabsy-slogan, .bg_color--6 .tabsy-slogan { color: #fff; }
.tabsy-slogan--hero {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  text-align: center;
  margin: 18px auto 0;
}
.footer-area .ft-text p.tabsy-slogan--footer {
  color: #fff;
  opacity: 1;
  letter-spacing: 0.01em;
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 4px 0 12px;
}

/* Header between phone and wide desktop: the ten menu links, the 64 px logo
   and the trial button do not fit one row below ~1440 px, and the wrapped menu
   ran into the hero below it. 992-1365 px uses the phone menu; 1366-1439 px
   tightens the spacing so everything fits on one row. */
@media (min-width: 992px) and (max-width: 1365.98px) {
  .header-area .mainmenunav { display: none !important; }
  .header-area .humberger-menu { display: block !important; }
}
@media (min-width: 1366px) and (max-width: 1439.98px) {
  .header-area .header-wrapper { flex-wrap: nowrap; }
  .header-area .mainmenunav ul.mainmenu { flex-wrap: nowrap; }
  .header-area .mainmenunav ul.mainmenu > li { margin: 0 8px; }
  .header-area .mainmenunav ul.mainmenu > li > a { font-size: 15px; }
  .header-area .header-right .header-btn { margin-left: 20px; }
}
