/* ============================================================
   BrandedBackup.com — OneColo structural language, BB palette
   Tokens: navy #1F3A93 · cyan accent #00AEEF · green #00D97E
   12px radii · soft shadows · system font stack · mono terminal
   ============================================================ */

:root {
  --accent: #00AEEF;
  --accent-bright: #4FC9F8;  /* text/icons on dark navy backgrounds */
  --accent-text: #006E99;    /* accent-colored text on white/light backgrounds */
  --accent-deep: #0087B8;
  --accent-grad: linear-gradient(135deg, #0095D9 0%, #1663c7 55%, #1F3A93 100%);
  --navy: #1F3A93;
  --green: #00D97E;
  --deep: #0D1C4E;
  --deep-2: #13255F;
  --deep-3: #081231;
  --body-bg: #f6f8fc;
  --text: #131f38;
  --text-soft: #5c6b82;
  --card-border: #e2e9f4;
  --radius: 12px;
  --shadow: 0 5px 15px 0 rgba(20, 40, 80, .08);
  --shadow-lg: 0 18px 50px rgba(8, 18, 49, .16);
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, 'Liberation Mono', monospace;
  --bs-border-radius: var(--radius);
}

/* ---------- Base ---------- */
body {
  font-family: var(--bs-font-sans-serif);
  letter-spacing: 0.3px;
  color: var(--text);
  background-color: var(--body-bg);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--text); }
.text-deep { color: var(--text) !important; }
a { color: var(--navy); }
a:hover { color: var(--accent-text); }

/* ---------- Nav ---------- */
header.site-header { background: #fff; }
.navbar-nav .nav-link { font-weight: 600; color: var(--text); }
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus { color: var(--accent-text); }
.navbar .dropdown-menu {
  margin-top: .3rem;
  padding: 0;
  overflow: hidden; /* full-bleed item highlight clips cleanly at the rounded corners */
  border-color: var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (min-width: 992px) {
  /* open on hover; zero the gap so the pointer never leaves the hover area */
  .navbar .dropdown-menu { margin-top: 0; }
  .navbar .dropdown:hover > .dropdown-menu,
  .navbar .dropdown:focus-within > .dropdown-menu { display: block; }
}
.navbar .dropdown-item { font-weight: 600; color: var(--text-soft); padding: .55rem 1rem; }
.navbar .dropdown-item:hover, .navbar .dropdown-item:focus {
  color: var(--accent-text);
  background: var(--body-bg);
}
.navbar .dropdown-item.active,
.navbar .dropdown-item:active {
  color: #fff;
  background: var(--deep);
}
.brand-logo { height: 44px; width: auto; display: block; }

/* Phone hotline (nav top right + footer) */
.hotline-area { display: flex; align-items: center; gap: .7rem; }
.hotline-area .icon svg { fill: var(--accent); width: 26px; height: 26px; }
.hotline-area .content span {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.hotline-area .content h6 { margin: 0; font-size: 1rem; }
.hotline-area .content h6 a { color: var(--text); text-decoration: none; font-weight: 700; }
.hotline-area .content h6 a:hover { color: var(--accent-text); }

/* ---------- Buttons ---------- */
.btn { border-radius: var(--radius); font-weight: 700; }
.btn-accent, .btn-primary {
  background: var(--accent-grad) !important;
  color: #fff !important;
  border: none;
}
.btn-accent:hover, .btn-accent:focus,
.btn-primary:hover, .btn-primary:focus {
  background: var(--deep) !important;
  color: #fff !important;
}
.btn-outline-deep, .btn-outline-secondary { border-color: var(--deep); color: var(--deep); }
.btn-outline-deep:hover, .btn-outline-deep:focus,
.btn-outline-secondary:hover, .btn-outline-secondary:focus {
  border-color: var(--deep); background-color: var(--deep); color: #fff;
}
.btn-outline-light:hover { color: var(--deep); }

/* ---------- Pills / chips / eyebrows ---------- */
.pill {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-soft);
  box-shadow: var(--shadow);
}
.chip {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #e6edf5;
  border-radius: 999px;
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 600;
}
.eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* ---------- Cards ---------- */
.feature-card, .stat-card, .faq-item {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.faq-item { padding: 1.25rem 1.5rem; }
.plan-icon { height: 46px; width: auto; margin-bottom: .75rem; }
.icon-badge {
  width: 44px; height: 44px;
  flex: 0 0 auto;
  display: grid; place-items: center;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 800;
  border-radius: 10px;
}
.icon-badge svg { width: 24px; height: 24px; }

/* ---------- Hero (dark navy gradient) ---------- */
.section-hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 72% -12%, rgba(0, 174, 239, .25), transparent 62%),
    linear-gradient(120deg, var(--deep-3), var(--deep-2));
  color: #fff;
  overflow: hidden;
}
.section-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: url('/assets/img/patterns/motpath.svg') right -80px top -40px / 620px auto no-repeat;
  opacity: .14;
  pointer-events: none;
}
.section-hero .container { position: relative; z-index: 1; }
.section-hero h1, .section-hero .text-deep { color: #fff !important; }
.section-hero .hero-price { color: var(--accent-bright) !important; }
.section-hero .lead, .section-hero .text-secondary { color: #c8d4e2 !important; }
.section-hero .pill {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .2);
  color: var(--accent-bright);
  box-shadow: none;
}
.section-hero .btn-outline-deep { border-color: #e6edf5; color: #e6edf5; }
.section-hero .btn-outline-deep:hover { background: #fff; color: var(--deep); border-color: #fff; }
.hero-headline { font-size: 3.1rem; line-height: 1.1; }

/* ---------- Terminal (signature element) ---------- */
.terminal {
  max-width: 760px;
  margin: 2rem auto 0;
  background: var(--deep-3);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: left;
  overflow: hidden;
}
.terminal-bar {
  display: flex; align-items: center; gap: .45rem;
  padding: .6rem .9rem;
  background: rgba(255, 255, 255, .05);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.terminal-bar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; } .dot-y { background: #febc2e; } .dot-g { background: #28c840; }
.terminal-bar .terminal-title {
  margin-left: .5rem;
  font-family: var(--mono);
  font-size: .75rem;
  color: #7d8da0;
}
.terminal-body {
  padding: 1rem 1.1rem 1.2rem;
  font-family: var(--mono);
  font-size: .85rem;
  line-height: 1.65;
  color: #c8d4e2;
  min-height: 216px;
}
.terminal-body .t-ok { color: var(--green); }
.terminal-body .t-info { color: var(--accent-bright); }
.terminal-body .t-accent { color: var(--accent-bright); }
.terminal-body .t-dim { color: #7d8da0; }
.terminal-body .cursor {
  display: inline-block; width: 8px; height: 1em;
  background: var(--accent);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .terminal-body .cursor { animation: none; }
}

/* ---------- Browser frame (hero screenshot in branded chrome) ---------- */
.browser-frame {
  max-width: 860px;
  margin: 2rem auto 0;
  background: var(--deep-3);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser-url {
  margin: 0 auto;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: .2rem 1.1rem;
  font-family: var(--mono);
  font-size: .78rem;
  color: #c8d4e2;
}
.browser-url strong { color: var(--accent-bright); font-weight: 600; }
.browser-frame .browser-body {
  display: block;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: #fff;
  aspect-ratio: 21 / 9;
}
.browser-frame .browser-body img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

/* ---------- Steps band ---------- */
.hero-steps-band { background: #fff; border-block: 1px solid var(--card-border); padding: 3.5rem 0; }
.hero-step-card {
  display: flex; gap: 1rem;
  background: var(--body-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  height: 100%;
}
.step-number {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 800;
  border-radius: 50%;
}

/* ---------- Console / screenshot band ---------- */
.band-console { background: #fff; border-block: 1px solid var(--card-border); }
.console-thumb {
  display: block;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  background: #fff;
}
.console-thumb img { width: 100%; height: auto; display: block; }

/* ---------- Dark bands ---------- */
.band-dark {
  position: relative;
  background: var(--deep-2);
  color: #e6edf5;
  overflow: hidden;
}
.band-dark::before {
  content: "";
  position: absolute; inset: 0;
  background: url('/assets/img/patterns/motpath.svg') left -120px bottom -120px / 520px auto no-repeat;
  opacity: .10;
  pointer-events: none;
}
.band-dark .container { position: relative; z-index: 1; }
.band-dark h2, .band-dark h3, .band-dark .text-deep { color: #fff !important; }
.band-dark .text-secondary, .band-dark .small { color: #9fb0c4 !important; }
.band-dark .pill { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.2); color: var(--accent-bright); box-shadow: none; }
.band-dark .stat-card {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
}
.band-dark .stat-card h3 { color: var(--accent-bright) !important; }
.band-dark .btn-outline-deep { border-color: #e6edf5; color: #e6edf5; }
.band-dark .btn-outline-deep:hover { background: #fff; color: var(--deep); border-color: #fff; }

/* Safety: plain links on any dark surface stay light — never navy-on-navy */
.band-dark a:not(.btn),
.cta-ribbon a:not(.btn),
.section-hero a:not(.btn),
.breadcrumb-section a:not(.btn),
.contact-section a:not(.btn):not(.primary-btn2),
footer.site-footer a:not(.btn) { color: #c8d4e2; }
.band-dark a:not(.btn):hover,
.cta-ribbon a:not(.btn):hover,
.section-hero a:not(.btn):hover,
.breadcrumb-section a:not(.btn):hover,
.contact-section a:not(.btn):not(.primary-btn2):hover,
footer.site-footer a:not(.btn):hover { color: var(--accent-bright); }

/* ---------- CTA ribbon ---------- */
.cta-ribbon {
  position: relative;
  background: var(--deep);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.25rem;
  overflow: hidden;
}
.cta-ribbon::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 260px; height: 260px;
  background: url('/assets/img/patterns/motpath.svg') center/contain no-repeat;
  opacity: .14;
  pointer-events: none;
}
.cta-ribbon > * { position: relative; z-index: 1; }
.cta-ribbon h1, .cta-ribbon h2, .cta-ribbon h3, .cta-ribbon h4, .cta-ribbon h5, .cta-ribbon h6 { color: #fff; }
.cta-ribbon .lead, .cta-ribbon p { color: #c8d4e2; }
.cta-ribbon a.text-white:hover { color: var(--accent-bright) !important; }

/* ---------- Pricing ---------- */
.plan-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: reduce) { .plan-card, .plan-card:hover { transform: none; transition: none; } }
.plan-top {
  padding: 1.5rem 1.5rem 1.25rem;
  background: var(--body-bg);
  border-bottom: 1px solid var(--card-border);
}
.plan-body { padding: 1.25rem 1.5rem 1.5rem; }
.plan-price { font-size: 2.3rem; font-weight: 800; color: var(--text); line-height: 1; }
.plan-price sup { font-size: 1rem; font-weight: 700; top: -1em; }
.plan-price .period { font-size: .9rem; font-weight: 600; color: var(--text-soft); }
.plan-meta { font-size: .85rem; color: var(--text-soft); }
.plan-card.plan-dark { background: var(--deep-2); border-color: var(--deep-2); color: #e6edf5; }
.plan-card.plan-dark .plan-top { background: var(--deep-3); border-color: rgba(255,255,255,.08); }
.plan-card.plan-dark h3, .plan-card.plan-dark .plan-price { color: #fff; }
.plan-card.plan-dark .plan-price .value { color: var(--accent-bright); }
.plan-card.plan-dark .plan-meta { color: #9fb0c4; }
.plan-card.plan-dark .list-check li { color: #c8d4e2; }
.plan-card.plan-dark .eyebrow { color: var(--accent-bright); }

/* ---------- Lists ---------- */
.list-check, .key-features, .checklist { list-style: none; padding-left: 0; margin: 0; }
.list-check li, .key-features li, .checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .5rem;
  color: var(--text-soft);
}
.list-check li::before, .key-features li::before, .checklist li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--green);
  font-weight: 800;
}
.key-features { display: inline-block; text-align: left; }
.key-features.columns-2 { display: block; columns: 2; max-width: 720px; }
@media (max-width: 576px) { .key-features.columns-2 { columns: 1; } }
.key-features li { font-size: 1.05rem; color: var(--text); font-weight: 600; }
.band-dark .key-features li, .cta-ribbon .key-features li { color: #e6edf5; }

/* ---------- Footer ---------- */
.bg-deep { background-color: var(--deep) !important; }
footer.site-footer {
  position: relative;
  overflow: hidden;
  background-color: var(--deep);
  color: #e6edf5;
}
footer.site-footer::before {
  content: "";
  position: absolute; right: -100px; bottom: -100px;
  width: 420px; height: 420px;
  background: url('/assets/img/patterns/motpath.svg') center/contain no-repeat;
  opacity: .12;
  pointer-events: none;
}
footer.site-footer .container { position: relative; z-index: 1; }
footer.site-footer h1, footer.site-footer h2, footer.site-footer h3,
footer.site-footer h4, footer.site-footer h5, footer.site-footer h6 { color: #fff; }
.text-deep-soft { color: #9fb0c4; }
.footer-link { color: #c8d4e2; text-decoration: none; }
.footer-link:hover { color: var(--accent-bright); }
footer.site-footer .hotline-area .icon svg { fill: var(--accent-bright); }
footer.site-footer .hotline-area .content span { color: #9fb0c4; }
footer.site-footer .hotline-area .content h6, footer.site-footer .hotline-area .content h6 a { color: #fff; }
footer.site-footer .hotline-area .content h6 a:hover { color: var(--accent-bright); }
.footer-logo { height: 48px; width: auto; }

/* ---------- Code blocks ---------- */
.code-block {
  background: var(--deep-3);
  color: #c8d4e2;
  font-family: var(--mono);
  font-size: .83rem;
  line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  overflow-x: auto;
  margin: 0 0 1rem;
}
code.inline-code {
  font-family: var(--mono);
  font-size: .85em;
  background: rgba(13, 28, 78, .07);
  border-radius: 4px;
  padding: .1em .35em;
  color: var(--navy);
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Misc ---------- */
.section-heading { max-width: 900px; }
.scroll-margin { scroll-margin-top: 90px; }

@media (max-width: 768px) {
  .hero-headline { font-size: 2.2rem; }
  .terminal-body { font-size: .76rem; min-height: 196px; }
}

/* ============================================================
   LEGACY PAGE ADAPTERS
   Existing inner pages keep their markup; these rules render
   the old template classes in the new design language.
   ============================================================ */

/* ---------- Page hero (breadcrumb-section on every inner page) ---------- */
.breadcrumb-section {
  position: relative;
  background:
    radial-gradient(900px 480px at 72% -12%, rgba(0, 174, 239, .25), transparent 62%),
    linear-gradient(120deg, var(--deep-3), var(--deep-2));
  color: #fff;
  overflow: hidden;
  padding: 96px 0 72px;
}
.breadcrumb-section::after {
  content: "";
  position: absolute; inset: 0;
  background: url('/assets/img/patterns/motpath.svg') right -80px top -40px / 620px auto no-repeat;
  opacity: .14;
  pointer-events: none;
}
.breadcrumb-section .container { position: relative; z-index: 1; }
.breadcrumb-section h1 { color: #fff; font-size: 2.6rem; margin: 0; }
.breadcrumb-section .banner-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.breadcrumb-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0 0 .75rem; }
.breadcrumb-list li { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-bright); }
.breadcrumb-list li a { color: #c8d4e2; text-decoration: none; }
.breadcrumb-list li a:hover { color: #fff; }
.breadcrumb-list li + li::before { content: "/"; opacity: .5; margin-right: .5rem; color: #c8d4e2; }
.scroll-down-btn a {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  transition: background .2s ease;
}
.scroll-down-btn svg { fill: none; stroke: #fff; stroke-width: 1.5; }
.scroll-down-btn a:hover { background: rgba(255, 255, 255, .1); }
@media (max-width: 768px) {
  .breadcrumb-section { padding: 64px 0 48px; }
  .breadcrumb-section h1 { font-size: 1.9rem; }
  .scroll-down-btn { display: none; }
}

/* ---------- Old spacing utilities still in markup ---------- */
.pt-120 { padding-top: 90px; }
.mb-120 { margin-bottom: 90px; }
.mb-80 { margin-bottom: 60px; }
.pt-30 { padding-top: 30px; }
.mb-90 { margin-bottom: 70px; }
@media (max-width: 768px) {
  .pt-120 { padding-top: 56px; }
  .mb-120 { margin-bottom: 56px; }
}

/* ---------- Body copy helpers ---------- */
.ptag, .pcap { color: var(--text-soft); font-size: 1.05rem; line-height: 1.65; margin-bottom: 1rem; }
.band-dark .pcap, .section-hero .pcap, .breadcrumb-section .pcap { color: #c8d4e2; }
.ctacontain { position: relative; display: block; width: fit-content; margin: 0 auto; }

/* ---------- service-details (content rows: index, how-it-works, about) ---------- */
.service-details-top-content h2 { font-size: 2rem; margin-bottom: 1rem; }
.service-details-img img, .service-details-faq-img img {
  width: 100%;
  height: auto;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.makebig { cursor: zoom-in; }

/* ---------- home5-services-section (kept per design sign-off) ---------- */
.home5-services-section {
  background: #fff;
  border-block: 1px solid var(--card-border);
  padding: 90px 4%;
}
@media (max-width: 991px) { .home5-services-section { padding: 64px 0; } }
.section-title5 { text-align: center; max-width: 900px; margin: 0 auto; }
.section-title5 .sub-title5 {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: .35rem .9rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-text);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}
.section-title5 .sub-title5 svg { fill: var(--accent); }
.section-title5 h2 { font-size: 2.2rem; margin-bottom: .75rem; }
.section-title5 h2 span { color: var(--accent-text); }
.home5-services-section .services-card {
  height: 100%;
  display: flex;
  gap: 1.1rem;
  padding: 1.5rem 1.25rem;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: 0;
  transition: box-shadow .2s ease, transform .2s ease;
}
.home5-services-section .row.g-0 { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.home5-services-section .services-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); z-index: 1; }
@media (prefers-reduced-motion: reduce) { .home5-services-section .services-card:hover { transform: none; } }
.home5-services-section .services-card .icon { flex: 0 0 auto; }
.home5-services-section .services-card .icon svg {
  width: 46px; height: 46px;
  fill: var(--navy);
  stroke: var(--navy);
}
.home5-services-section .services-card .icon svg [stroke] { stroke: var(--navy); }
.home5-services-section .services-card .icon svg [fill="black"] { fill: var(--navy); }
.home5-services-section .services-card .title-category { margin-bottom: .6rem; }
.home5-services-section .services-card .title-category h3 { font-size: 1.3rem; margin-bottom: .1rem; }
.home5-services-section .services-card .title-category span {
  position: relative;
  padding-left: 34px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.home5-services-section .services-card .title-category span::after {
  content: "";
  height: 2px; width: 26px;
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  background-color: var(--accent);
}
.home5-services-section .services-card p { color: var(--text-soft); font-size: .95rem; line-height: 1.6; margin-bottom: .75rem; }
.home5-services-section .services-card ul {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: .3rem 1rem;
  padding: 0 0 .9rem;
  margin: 0;
}
.home5-services-section .services-card ul li { font-size: .82rem; font-weight: 600; color: var(--text-soft); }
.home5-services-section .services-card ul li i { color: var(--green); }

/* explore-btn (services cards + features index) */
.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  text-decoration: none;
}
.explore-btn svg { fill: currentColor; transition: transform .2s ease; }
.explore-btn:hover { color: var(--accent-text); }
.explore-btn:hover svg { transform: translate(2px, -2px); }

/* ---------- home3-tools-section (benefits grid) ---------- */
.home3-tools-section .tools-card {
  height: 100%;
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}
.home3-tools-section .tools-card .icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--accent-grad);
  border-radius: 10px;
}
.home3-tools-section .tools-card .icon img { filter: brightness(0) invert(1); width: 24px; height: 24px; }
.home3-tools-section .tools-card h6 { font-size: 1rem; margin-bottom: .3rem; }
.home3-tools-section .tools-card p { font-size: .9rem; color: var(--text-soft); margin: 0; }

/* ---------- features index (service-card) ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.service-card h4 { font-size: 1.15rem; margin-bottom: .75rem; }
.service-card h4 i { color: var(--accent-text); }
.service-card ul { list-style: none; padding: 0; margin: 0; }
.service-card ul li { margin-bottom: .4rem; }
.service-card ul li a { color: var(--text-soft); text-decoration: none; font-weight: 600; }
.service-card ul li a:hover { color: var(--accent-text); }
.service-card.two p { color: var(--text-soft); }
.service-card-section .service-card { position: sticky; top: 90px; }
.service-card-section .col-12 .service-card { position: static; }

/* ---------- feature detail pages (product-details) ---------- */
.product-details-content h1 { font-size: 2.3rem; margin-bottom: 1rem; }
.bx-ul { list-style: none; padding: 0; margin: 0; }
.bx-ul li { display: flex; gap: .6rem; margin-bottom: .6rem; }
.bx-ul li i { color: var(--green); font-size: 1.1rem; line-height: 1.5; }
.bx-ul li p { margin: 0; color: var(--text-soft); font-size: 1rem !important; line-height: 1.6; }
.product-details-tab-img img {
  width: 100%;
  height: auto;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.product-details-img .nav-pills { gap: .6rem; margin-top: .75rem; }
.product-details-img .nav-pills .nav-link {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  opacity: .7;
}
.product-details-img .nav-pills .nav-link img { width: 84px; height: auto; display: block; }
.product-details-img .nav-pills .nav-link.active { border-color: var(--accent); opacity: 1; background: none; }
.featurelst { list-style: none; padding: 0; margin: 0 0 1rem; }
.featurelst li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .5rem;
  color: var(--text-soft);
}
.featurelst li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--green);
  font-weight: 800;
}

/* eg-card2 (related content cards) */
.eg-card2 {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}
.eg-card2 .card-img img { width: 100%; height: auto; display: block; }
.eg-card2 .card-content { padding: 1.25rem; }

/* ---------- branding / control-panel pages ---------- */
.portfolio-grid-section h2 { font-size: 1.9rem; }
.brandingcard {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.brandingcard-img { display: block; width: 100%; overflow: hidden; }
.brandingcard .console-thumb { border: none; border-radius: 0; box-shadow: none; }
.brandingcard-img img { width: 100%; height: auto; display: block; }
.brandingcard-content { display: block; padding: 1.1rem 1.25rem; }
.brandingcard h5 { font-size: 1.15rem; margin-bottom: .25rem; color: var(--text); }
.brandingcard p { font-size: .95rem; color: var(--text-soft); margin: 0; }

/* ---------- pricing CTA card ---------- */
.cta-card {
  background:
    radial-gradient(500px 280px at 80% -10%, rgba(0, 174, 239, .35), transparent 62%),
    linear-gradient(135deg, var(--deep-2) 0%, var(--deep-3) 100%);
  border-radius: var(--radius);
}
.check {
  display: inline-block;
  width: 1.1rem; height: 1.1rem; flex: 0 0 1.1rem;
  margin-top: .2rem;
  background: var(--green);
  border-radius: 50%;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z" fill="white"/></svg>') center/70% 70% no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z" fill="white"/></svg>') center/70% 70% no-repeat;
}
.cta-card .check { background: var(--green); }
.checklist li::before { content: ""; width: 1.05rem; height: 1.05rem; top: .25rem;
  background: var(--green); border-radius: 50%;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z" fill="white"/></svg>') center/70% 70% no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z" fill="white"/></svg>') center/70% 70% no-repeat;
}

/* ---------- lightbox (makebig) ---------- */
.mb-overlay[hidden] { display: none; }
.mb-overlay { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(8, 18, 49, .85); z-index: 9999; padding: 4vmin; }
.mb-wrap { position: relative; max-width: min(92vw, 1600px); max-height: 92vh; }
.mb-img { max-width: 100%; max-height: 92vh; display: block; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.mb-cap { margin-top: .5rem; text-align: center; color: #c8d4e2; font: 14px/1.3 system-ui; }
.mb-close { position: absolute; top: -12px; right: -12px; border: 0; background: rgba(8, 18, 49, .9); color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.mb-lock { overflow: hidden; }

/* ---------- FAQ / accordion ---------- */
.faq-section .accordion-item {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow);
  margin-bottom: .75rem;
  overflow: hidden;
}
.faq-section .accordion-button { font-weight: 700; color: var(--text); border-radius: var(--radius) !important; }
.faq-section .accordion-button:not(.collapsed) {
  background: var(--body-bg);
  color: var(--navy);
  box-shadow: none;
}
.faq-section .accordion-button:focus { box-shadow: none; border-color: var(--card-border); }
.faq-section .accordion-body { color: var(--text-soft); }

/* ---------- forms ---------- */
.form-control, .form-select {
  border-color: var(--card-border);
  border-radius: 10px;
  padding: .6rem .85rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(0, 174, 239, .15);
}

/* ---------- pricing calculator ---------- */
.calc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--card-border);
}
.calc-row:last-child { border-bottom: none; padding-bottom: 0; }
.calc-info { display: flex; flex-direction: column; }
.calc-name { font-weight: 700; color: var(--text); }
.calc-sub { font-weight: 500; color: var(--text-soft); font-size: .85rem; }
.calc-price { font-size: .82rem; font-weight: 600; color: var(--accent-text); }
.calc-qty { display: flex; align-items: center; gap: .4rem; flex: 0 0 auto; }
.calc-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  background: var(--body-bg);
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}
.calc-btn:hover { background: var(--deep); color: #fff; border-color: var(--deep); }
.calc-input {
  width: 64px;
  text-align: center;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: .35rem .3rem;
  font-weight: 700;
  color: var(--text);
  -moz-appearance: textfield;
  appearance: textfield;
}
.calc-input::-webkit-outer-spin-button, .calc-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 .2rem rgba(0, 174, 239, .15); }
.calc-summary { position: sticky; top: 90px; }
.calc-total { font-size: 2rem; font-weight: 800; color: var(--text); line-height: 1; }
.calc-total-period { font-size: 1rem; font-weight: 600; color: var(--text-soft); }

/* ---------- articles (/resources/) ---------- */
.article-body { max-width: 760px; }
.article-body h2 { font-size: 1.45rem; margin: 2.25rem 0 .75rem; }
.article-body h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.article-body p, .article-body li { color: var(--text-soft); line-height: 1.7; }
.article-body ul:not(.list-check) { padding-left: 1.25rem; }
.article-meta { font-size: .85rem; color: var(--text-soft); }
.related-list { list-style: none; padding-left: 0; margin: 0; }
.related-list li { margin-bottom: .5rem; }

/* ---------- old numeric spacing utilities still in markup ---------- */
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }

/* ---------- contact page ---------- */
.contact-page .contact-area {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: 100%;
}
.contact-page .contact-area .address .title { font-size: 1.15rem; margin-bottom: 1rem; }
.contact-page .working-hour { display: flex; gap: .9rem; }
.contact-page .working-hour .icon svg { fill: var(--accent); width: 30px; height: 30px; }
.contact-page .working-hour .content span {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-top: .5rem;
}
.contact-page .working-hour .content h6 { font-size: .95rem; margin: 0 0 .15rem; color: var(--text); }
.company-map { height: 100%; min-height: 320px; }
.company-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- contact form band (inc/contact.php) ---------- */
.contact-section {
  position: relative;
  background: var(--deep-2);
  color: #e6edf5;
  overflow: hidden;
  padding: 4.5rem 0;
}
.contact-section::before {
  content: "";
  position: absolute; inset: 0;
  background: url('/assets/img/patterns/motpath.svg') left -120px bottom -120px / 520px auto no-repeat;
  opacity: .10;
  pointer-events: none;
}
.contact-section .container { position: relative; z-index: 1; }
.contact-section .section-title h2 { color: #fff; margin-bottom: .5rem; }
.contact-section .section-title p { color: #9fb0c4; }
.contact-section .contact-area { margin-top: 1.5rem; }
.contact-section .hotline-area .icon svg { fill: var(--accent-bright); }
.contact-section .hotline-area .content span { color: #9fb0c4; }
.contact-section .hotline-area .content h6, .contact-section .hotline-area .content h6 a { color: #fff; }
.contact-section .hotline-area .content h6 a:hover { color: var(--accent-bright); }
.contact-form-wrap {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}
.form-inner label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: .35rem;
}
.form-inner input, .form-inner textarea {
  width: 100%;
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: .6rem .85rem;
  font-size: 1rem;
  color: var(--text);
  background: var(--body-bg);
}
.form-inner input:focus, .form-inner textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(0, 174, 239, .15);
  background: #fff;
}
.form-inner textarea { min-height: 140px; resize: vertical; }
.primary-btn2 {
  display: inline-block;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  padding: .7rem 1.6rem;
  transition: background .2s ease;
}
.primary-btn2:hover { background: var(--deep); }

/* ---------- FAQ vertical label ---------- */
.verticle-text {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-soft);
}
@media (min-width: 992px) {
  .verticle-text { writing-mode: vertical-rl; transform: rotate(180deg); }
}

/* ---------- error page ---------- */
.error-page { padding: 6rem 0; text-align: center; }
.error-content h1 { font-size: 7rem; font-weight: 800; color: var(--navy); line-height: 1; }
.error-content h2, .error-content h3 { color: var(--text-soft); }
.error-content p { max-width: 560px; margin: 1rem auto 2rem; color: var(--text-soft); }
.star-btn a {
  display: inline-block;
  background: var(--accent-grad);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius);
  padding: .8rem 1.8rem;
  text-decoration: none;
}
.star-btn a:hover { background: var(--deep); color: #fff; }
.star-btn .bg { display: none; }
.star-btn .details-button { display: inline-flex; align-items: center; gap: .5rem; }
.star-btn .details-button svg { width: 12px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; }
