/* Secundum Reality: shared components for the main pages (2026-10-03).
   Loaded after each page's own styles. Header/nav/footer base styles still live in each
   page's inline <style> (or blogspot.css); this file adds the new pieces only. */

/* ---------- Accessibility helpers ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: #111; color: #fff; padding: 10px 16px; border-radius: 6px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* Anchor targets clear the fixed header */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
section[id], div[id], article[id] { scroll-margin-top: 90px; }

/* ---------- Contact icons ----------
   The two Mobirise icons used on the homepage. Replaces web.css on these pages: its @font-face points at
   mobirise2.* files that don't exist (the files on disk are web.woff / web.ttf). */
@font-face {
  font-family: 'SRMobiIcons';
  font-display: swap;
  src: url('../web/assets/web-icons2/web.woff') format('woff'),
       url('../web/assets/web-icons2/web.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.mobi-mbri {
  font-family: 'SRMobiIcons' !important;
  speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none;
  line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.mobi-mbri-letter::before { content: "\e945"; }
.mobi-mbri-mobile-2::before { content: "\e94e"; }
.contacts1 .mbr-iconfont { font-size: 44px; color: #e74c3c; display: inline-block; margin-bottom: 14px; }

/* ---------- Layout: the theme gives .row 16px negative gutters; match them so rows don't overflow by 1px ---------- */
.container { padding-left: 16px; padding-right: 16px; }

/* ---------- Header: seven nav items ----------
   901-1180px: compact the desktop nav so it stays on one line.
   769-900px: use the same off-canvas menu as phones (the desktop nav would wrap onto a second row there). */
.logo img { width: auto; }
@media (min-width: 901px) and (max-width: 1180px) {
  .nav-menu li { margin-left: 14px; }
  .nav-menu a { font-size: 15px; }
  .header-buttons { margin-right: 8px; gap: 6px; }
  .header-btn { padding: 8px 12px; font-size: 14px; }
  .logo { margin-right: 10px; }
}
@media (min-width: 901px) and (max-width: 1000px) {
  .logo img { height: 42px; }
  .nav-menu li { margin-left: 11px; }
  .nav-menu a { font-size: 14px; }
}
@media (min-width: 769px) and (max-width: 900px) {
  .header-buttons { margin-left: auto; margin-right: 10px; gap: 6px; }
  .hamburger { display: flex !important; z-index: 1001; margin-left: 5px; }
  .nav-container { order: 3; width: auto; margin-left: 10px; }
  .nav-menu {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background-color: #fff;
    flex-direction: column; justify-content: flex-start; padding-top: 80px; transition: right .3s ease;
    z-index: 1000; box-shadow: -5px 0 15px rgba(0, 0, 0, .1);
  }
  .nav-menu.active { right: 0; }
  .nav-menu li { margin: 0; width: 100%; text-align: center; }
  .nav-menu a { display: block; padding: 15px; font-size: 16px; border-bottom: 1px solid #eee; color: #333; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
}

/* ---------- Footer: "Our apps" column and headings ---------- */
.footer-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.footer-heading {
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin: 0 0 18px;
}
.footer-section .footer-contact p { color: #ccc; margin-bottom: 10px; }
.footer-section .footer-contact a { color: #ccc; }
.footer-section .footer-contact a:hover { color: #e74c3c; }
.footer-social { display: flex; margin-top: 20px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background-color: #222; border-radius: 50%;
  margin-right: 10px; color: #fff; text-decoration: none; transition: background-color .3s ease;
}
.footer-social a:hover { background-color: #e74c3c; color: #fff; }
.footer-bottom {
  text-align: center; padding-top: 30px; border-top: 1px solid #333;
  color: #999; font-size: 14px; margin-top: 30px;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #999; }
.footer-bottom a:hover { color: #e74c3c; }

/* ---------- Store badges ---------- */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 0 0 18px; }
.store-badges a { display: inline-block; line-height: 0; border-radius: 10px; transition: transform .2s ease; }
.store-badges a:hover, .store-badges a:focus-visible { transform: translateY(-2px); }
.store-badges img { height: 50px; width: auto; }
.store-badges.is-small img { height: 40px; }

/* Fixed backgrounds repaint on every scroll on phones/tablets (and iOS ignores them): scroll normally there */
@media (hover: none) and (pointer: coarse) {
  .mbr-parallax-background { background-attachment: scroll; }
}

/* ---------- Homepage hero additions ---------- */
.hero-tagline {
  display: block; font-size: 1.55rem; font-weight: 600; line-height: 1.3;
  margin-top: .5rem; color: #1d1d1d;
}
.hero-lead a { color: #c0392b; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hero-lead a:hover { color: #e74c3c; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-left: 0; margin-right: 0; }
.hero-actions .btn { margin: 0 !important; }
@media (max-width: 576px) { .hero-tagline { font-size: 1.2rem; } }

/* ---------- Homepage "Our apps" ---------- */
.apps-section { padding: 90px 0 80px; background: #f8f9fa; }
.apps-head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.apps-head h2 { font-size: 2.5rem; font-weight: 700; color: #111; margin: 0 0 12px; line-height: 1.2; }
.apps-head p { color: #555; font-size: 1.1rem; margin: 0; }

.app-feature {
  display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 36px; align-items: start;
  background: #FBF8F3; border: 1px solid #ebe4d8; border-left: 6px solid #0F7A63;
  border-radius: 20px; padding: 40px; margin-bottom: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .06);
}
.app-feature .app-icon {
  width: 150px; height: 150px; border-radius: 34px; object-fit: cover; display: block;
  box-shadow: 0 10px 24px rgba(15, 122, 99, .25);
}
.app-kicker {
  text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700;
  color: #0F7A63; margin: 0 0 8px;
}
.app-feature h3 { font-size: 1.9rem; font-weight: 700; margin: 0 0 14px; line-height: 1.2; }
.app-feature h3 a { color: #191712; text-decoration: none; font-weight: inherit; }
.app-feature h3 a:hover { color: #0F7A63; }
.app-feature p { color: #3c3a35; font-size: 1.05rem; line-height: 1.65; }
.app-points {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 28px;
}
.app-points li { position: relative; padding-left: 26px; color: #3c3a35; line-height: 1.5; }
.app-points li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: #0F7A63; font-weight: 700;
}
.app-links a, .app-tile .app-more, .portfolio-grid .app-card .app-more { font-weight: 600; }
.app-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; font-weight: 600; }
.app-links a { color: #0F7A63; text-decoration: underline; text-underline-offset: 3px; }
.app-links a:hover { color: #0b5c4a; }

.app-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.app-grid > .app-tile { flex: 0 1 calc((100% - 60px) / 3); min-width: 0; }
.app-tile {
  background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 8px 25px rgba(0, 0, 0, .08); transition: transform .3s ease, box-shadow .3s ease;
}
.app-tile:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0, 0, 0, .13); }
.app-tile-img { display: block; width: 100%; height: 190px; object-fit: cover; }
.app-tile-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.app-tile h3 { font-size: 1.35rem; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.app-tile h3 a { color: #222; text-decoration: none; font-weight: inherit; }
.app-tile h3 a:hover { color: #e74c3c; }
.app-tile p { color: #666; font-size: 1rem; line-height: 1.6; flex: 1; }
.app-tile .app-more { color: #e74c3c; font-weight: 600; text-decoration: none; margin-top: 2px; }
.app-tile .app-more:hover { text-decoration: underline; }

@media (max-width: 991px) {
  .app-grid > .app-tile { flex-basis: calc((100% - 30px) / 2); }
}
@media (max-width: 767px) {
  .apps-section { padding: 60px 0; }
  .apps-head h2 { font-size: 1.9rem; }
  .app-feature { grid-template-columns: 1fr; padding: 26px 22px; gap: 18px; border-left-width: 5px; }
  .app-feature .app-icon { width: 96px; height: 96px; border-radius: 22px; }
  .app-feature h3 { font-size: 1.5rem; }
  .app-points { grid-template-columns: 1fr; }
  .app-grid { gap: 22px; }
  .app-grid > .app-tile { flex-basis: 100%; }
  .store-badges img { height: 44px; }
}

/* ---------- FAQ (homepage and app pages) ---------- */
.faq-section { padding: 80px 0; background: #fff; }
.faq-section h2 { text-align: center; font-size: 2.5rem; font-weight: 700; color: #111; margin: 0 0 40px; line-height: 1.2; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 1100px; margin: 0 auto; }
.faq-item { background: #f8f9fa; border: 1px solid #eee; border-radius: 16px; padding: 24px 26px; }
.faq-item h3 { font-size: 1.15rem; font-weight: 700; margin: 0 0 10px; color: #222; line-height: 1.35; }
.faq-item p { margin: 0; color: #555; line-height: 1.65; font-size: 1rem; }
.faq-item a { color: #c0392b; text-decoration: underline; }
@media (max-width: 767px) {
  .faq-section { padding: 56px 0; }
  .faq-section h2 { font-size: 1.9rem; margin-bottom: 28px; }
  .faq-list { grid-template-columns: 1fr; }
}
/* FAQ inside the app pages' content column */
.app-faq .faq-list { max-width: none; }
.app-faq h2 { text-align: left; }

/* ---------- Portfolio cards ---------- */
.portfolio-grid .app-card { display: flex; flex-direction: column; cursor: default; }
.portfolio-grid .app-card-media { display: block; }
.portfolio-grid .app-content { text-align: left; display: flex; flex-direction: column; flex: 1; }
.portfolio-grid .app-title { margin-bottom: 10px; }
.portfolio-grid .app-title a { color: #333; text-decoration: none; font-weight: inherit; }
.portfolio-grid .app-title a:hover { color: #667eea; }
.portfolio-grid .app-desc { color: #555; font-size: 1rem; line-height: 1.6; margin: 0 0 16px; flex: 1; }
.portfolio-grid .app-meta { color: #888; font-size: .9rem; margin: 0 0 14px; }
.portfolio-grid .app-card .store-badges { margin-bottom: 14px; }
.portfolio-grid .app-card .app-more { display: block; margin-top: 4px; font-weight: 600; color: #667eea; text-decoration: none; }
.portfolio-grid .app-card .app-more:hover { text-decoration: underline; }
.portfolio-grid .app-card .app-more + .app-more { margin-top: 10px; }
.portfolio-grid .app-card.is-featured { border: 2px solid #0F7A63; }
.portfolio-grid .app-image.is-contain { object-fit: contain; background: #0F7A63; }
.portfolio-grid .app-card.is-featured .app-title a:hover,
.portfolio-grid .app-card.is-featured .app-more { color: #0F7A63; }
.portfolio-intro { max-width: 860px; margin: 0 auto 40px; padding: 0 20px; text-align: center; color: #555; font-size: 1.1rem; line-height: 1.7; }

/* ---------- Legal pages (privacy / terms): site chrome without Bootstrap ---------- */
body.legal-page {
  margin: 0; padding: 0; background: #f9f9f9; color: #333;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 16px; line-height: 1.6;
}
.legal-page *, .legal-page *::before, .legal-page *::after { box-sizing: border-box; }
.legal-page .header {
  background-color: #fff; padding: 15px 0; position: fixed; width: 100%; top: 0; z-index: 1000;
  border-bottom: 1px solid #eee; box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
}
.legal-page .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.legal-page .navbar { display: flex; justify-content: space-between; align-items: center; padding: 0 10px; }
.legal-page .logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; margin-right: 20px; }
.legal-page .logo img { height: 50px; width: auto; margin-right: 10px; object-fit: contain; display: block; }
.legal-page .header-buttons { display: flex; gap: 10px; margin-left: auto; margin-right: 15px; }
.legal-page .header-btn {
  background-color: #e74c3c; color: #fff; padding: 10px 18px; border-radius: 5px; text-decoration: none;
  font-weight: 600; font-size: 15px; transition: background-color .3s ease; white-space: nowrap;
}
.legal-page .header-btn:hover { background-color: #c0392b; color: #fff; text-decoration: none; }
.legal-page .header a { line-height: 1; } /* match the theme's a { line-height: 1 } used by the other pages' header */
.legal-page .nav-container { display: flex; align-items: center; }
.legal-page .nav-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.legal-page .nav-menu li { margin-left: 25px; }
.legal-page .nav-menu a { color: #333; text-decoration: none; font-size: 16px; font-weight: 500; transition: color .3s ease; }
.legal-page .nav-menu a:hover { color: #e74c3c; text-decoration: none; }
.legal-page .hamburger {
  display: none; cursor: pointer; background: none; border: none; padding: 5px; margin-right: 3px;
  flex-direction: column; justify-content: space-around; width: 30px; height: 30px; min-width: 30px;
}
.legal-page .hamburger span { display: block; width: 25px; height: 3px; background-color: #333; margin: 3px 0; transition: all .3s ease; transform-origin: center; }
.legal-page .whatsapp_float { position: fixed; bottom: 20px; right: 20px; z-index: 100; }
.legal-page .whatsapp_float img { width: 50px; height: 50px; display: block; }
.legal-page .legal-main { padding: 110px 0 60px; }
.legal-page .legal-doc {
  max-width: 900px; margin: 0 auto; padding: 40px 32px; background: #fff;
  border-radius: 12px; box-shadow: 0 2px 12px rgba(0, 0, 0, .05);
}
.legal-page .legal-doc h1, .legal-page .legal-doc h2 { color: #1a1a1a; line-height: 1.25; }
.legal-page .legal-doc h1 { font-size: 2.2rem; margin: 0 0 8px; }
.legal-page .legal-doc h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.legal-page .legal-doc a { color: #d32f2f; text-decoration: none; }
.legal-page .legal-doc a:hover { text-decoration: underline; }
.legal-page .legal-doc ul { padding-left: 20px; }
.legal-page .legal-updated { color: #777; margin-top: 0; }
.legal-page .footer-section { background-color: #111; color: #fff; padding: 60px 0 30px; }
.legal-page .footer-grid { display: grid; gap: 30px; margin-bottom: 30px; }
.legal-page .footer-links { list-style: none; padding: 0; margin: 0; }
.legal-page .footer-links li { margin-bottom: 15px; }
.legal-page .footer-links a { color: #ccc; text-decoration: none; transition: color .3s ease; }
.legal-page .footer-section a { text-decoration: none; }
.legal-page .footer-links a:hover { color: #e74c3c; }
@media (max-width: 992px) {
  .legal-page .header-buttons { margin-left: 10px; }
  .legal-page .header-btn { padding: 8px 15px; font-size: 14px; }
}
@media (max-width: 768px) {
  .legal-page .header-buttons { margin-left: auto; margin-right: 10px; gap: 3px; }
  .legal-page .header-btn { padding: 5px 8px; font-size: 12px; }
  .legal-page .hamburger { display: flex !important; z-index: 1001; margin-left: 5px; }
  .legal-page .nav-container { order: 3; width: auto; margin-left: 10px; }
  .legal-page .nav-menu {
    position: fixed; top: 0; right: -100%; width: 250px; height: 100vh; background-color: #fff;
    flex-direction: column; justify-content: flex-start; padding-top: 80px; transition: right .3s ease;
    z-index: 1000; box-shadow: -5px 0 15px rgba(0, 0, 0, .1);
  }
  .legal-page .nav-menu.active { right: 0; }
  .legal-page .nav-menu li { margin: 0; width: 100%; text-align: center; }
  .legal-page .nav-menu a { display: block; padding: 15px; font-size: 16px; border-bottom: 1px solid #eee; color: #333; }
  .legal-page .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .legal-page .hamburger.active span:nth-child(2) { opacity: 0; }
  .legal-page .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
  .legal-page .legal-main { padding: 90px 0 40px; }
  .legal-page .legal-doc { padding: 28px 20px; border-radius: 0; box-shadow: none; }
  .legal-page .legal-doc h1 { font-size: 1.8rem; }
}
@media (max-width: 576px) {
  .legal-page .header-btn { padding: 4px 6px; font-size: 11px; }
  .legal-page .logo img { height: 35px; }
}
@media (max-width: 480px) {
  .legal-page .navbar { padding: 8px 5px; }
  .legal-page .logo { margin-right: 10px; }
  .legal-page .header-buttons { margin-left: 3px; margin-right: 5px; gap: 3px; }
  .legal-page .header-btn { padding: 3px 5px; font-size: 10px; }
  .legal-page .logo img { height: 30px; margin-right: 3px; }
  .legal-page .nav-container { margin-left: 3px; }
}
@media (max-width: 380px) {
  .legal-page .header-buttons { flex-direction: column; gap: 2px; }
  .legal-page .header-btn { font-size: 9px; padding: 2px 4px; }
}
