/* ============================================================
   StartyERP Standalone Header & Footer
   Prefixed classes (sy-*) to avoid ANY collision with Bootstrap
   Measurements extracted from live Salient theme 2026-07-24
   ============================================================ */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

/* Font Awesome 4.7 (social icons + dropdown arrows) */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css');

/* ============================================================
   HEADER
   ============================================================ */
.sy-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #ffffff;
  box-shadow: 0 3px 45px rgba(0,0,0,.15);
  transition: box-shadow .3s ease;
}

.sy-header__top {
  display: block;
  height: 106px;
  transition: height .3s ease;
}

.sy-header__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 90px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.sy-header__logo-wrap {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.sy-header__logo {
  display: block;
  text-decoration: none;
  line-height: 0;
}

.sy-header__logo img {
  height: 50px;
  width: auto;
  display: block;
}

/* Nav */
.sy-header__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
}

.sy-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Top-level menu items */
.sy-nav > li {
  position: relative;
  display: flex;
  align-items: center;
  height: 106px;
}

.sy-nav > li > a {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #002a3a;
  text-decoration: none;
  text-transform: uppercase;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 14px;
  transition: color .2s ease;
  cursor: pointer;
}

.sy-nav > li > a:hover {
  color: #176482;
}

.sy-nav > li > a .fa-angle-down {
  font-size: 12px;
  margin-left: 2px;
  opacity: .6;
}

/* Dropdown */
.sy-nav .sy-dropdown {
  list-style: none;
  margin: 0;
  padding: 15px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  width: max-content;
  max-width: 360px;
  background: #1c2225;
  box-shadow: 0 10px 20px rgba(20,20,20,.65);
  border-radius: 0;
  display: none;
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 10000;
}

.sy-nav li:hover > .sy-dropdown,
.sy-nav li.sy-open > .sy-dropdown {
  display: block;
  opacity: 1;
}

.sy-dropdown li {
  display: block;
  position: relative;
}

.sy-dropdown li a {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #ffffff;
  text-decoration: none;
  padding: 6px 10px;
  display: block;
  transition: color .2s ease;
  white-space: nowrap;
}

.sy-dropdown li a:hover {
  color: #fdc300;
}

/* Nested dropdown (right-side) */
.sy-dropdown .sy-dropdown {
  top: 0;
  left: 100%;
}

.sy-dropdown li.sy-has-child > a::after {
  content: '\f105';
  font-family: FontAwesome;
  margin-left: 8px;
  float: right;
  opacity: .6;
}

/* Demo Gratuita button */
.sy-nav--buttons {
  margin-left: 20px;
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
}

.sy-nav--buttons > li {
  position: relative;
  display: flex;
  align-items: center;
  height: 106px;
}

.sy-btn-demo {
  position: relative;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #002a3a;
  text-decoration: none;
  text-transform: uppercase;
  padding: 8px 24px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
  overflow: visible;
  transition: color .2s ease;
  z-index: 0;
}

.sy-btn-demo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 32px;
  transform: translateY(-50%);
  background: #fdc300;
  border-radius: 200px;
  z-index: -1;
  transition: height .25s ease;
}

.sy-btn-demo:hover {
  color: #ffffff;
}

.sy-btn-demo:hover::before {
  height: 100%;
}

/* Search icon */
.sy-btn-search {
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: #999;
  font-size: 12px;
  text-decoration: none;
  height: 106px;
}

.sy-btn-search:hover {
  color: #002a3a;
}

/* Mobile hamburger (hidden on desktop) */
.sy-header__toggle {
  display: none;
  width: 32px;
  height: 30px;
  position: relative;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.sy-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #002a3a;
  border-radius: 1px;
  transition: .3s ease;
}

.sy-header__toggle span::before,
.sy-header__toggle span::after {
  content: '';
  position: absolute;
  left: 5px;
  width: 22px;
  height: 2px;
  background: #002a3a;
  border-radius: 1px;
  transition: .3s ease;
}

.sy-header__toggle span::before { top: 8px; }
.sy-header__toggle span::after { bottom: 8px; }

/* Mobile menu (off-canvas) */
.sy-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: #1c2225;
  z-index: 10001;
  padding: 80px 30px 30px;
  overflow-y: auto;
  transition: right .3s ease;
  box-shadow: -5px 0 30px rgba(0,0,0,.3);
}

.sy-mobile-menu.sy-open {
  right: 0;
}

.sy-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sy-mobile-menu > ul > li {
  margin-bottom: 10px;
}

.sy-mobile-menu > ul > li > a {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.sy-mobile-menu > ul > li > a:hover {
  color: #fdc300;
}

.sy-mobile-menu .sy-mobile-sub {
  list-style: none;
  padding: 0 0 0 15px;
  display: none;
}

.sy-mobile-menu .sy-mobile-sub li a {
  font-size: 13px;
  font-weight: 300;
  color: #cfcfcf;
  padding: 8px 0;
  display: block;
}

.sy-mobile-menu .sy-mobile-subtoggle {
  float: right;
  color: #fdc300;
  cursor: pointer;
  font-size: 14px;
}

.sy-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 10000;
}

.sy-mobile-overlay.sy-open {
  display: block;
}

/* ============================================================
   HUBSPOT FORM SECTION
   ============================================================ */
.sy-hubspot-form {
  padding: 60px 0;
  background: #f7f7f7;
  text-align: center;
}
.sy-hubspot-form__inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}
.sy-hubspot-form__title {
  font-family: 'Open Sans', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #1c2225;
  margin-bottom: 12px;
}
.sy-hubspot-form__subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #555;
  margin-bottom: 36px;
}
.sy-hubspot-form .sy-footer__container {
  max-width: 900px;
}
.sy-hubspot-form iframe {
  width: 100% !important;
  margin: 0 auto;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.sy-footer {
  background: #1c2225;
  color: #eee;
}

.sy-footer__widgets {
  padding: 50px 0 40px;
}

.sy-footer__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 90px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.sy-footer__col {
  flex: 1 1 0;
  min-width: 250px;
}

.sy-footer__col h4 {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  color: #fdc300;
  margin: 0 0 12px;
}

.sy-footer__col p,
.sy-footer__col div {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13px;
  color: #eee;
  line-height: 25px;
}

.sy-footer__col a {
  color: #eee;
  text-decoration: none;
}

.sy-footer__col a:hover {
  text-decoration: underline;
}

.sy-footer__col a.sy-footer__email {
  color: #fdc300;
}

.sy-footer__copyright {
  background: #1c2225;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.sy-footer__copyright-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 90px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.sy-footer__legal {
  flex: 1 1 500px;
  font-size: 13px;
  line-height: 1.5;
  color: #cfcfcf;
}

.sy-footer__legal img {
  margin-bottom: 8px;
  height: 26px;
  width: auto;
}

.sy-footer__legal strong {
  color: #ffffff;
}

.sy-footer__legal a {
  color: #ffffff;
  text-decoration: none;
}

.sy-footer__legal a:hover {
  text-decoration: underline;
}

.sy-footer__divider {
  height: 1px;
  background: #666;
  width: 65%;
  margin: 14px 0;
}

.sy-footer__fineprint {
  font-size: 12.5px;
}

.sy-footer__social {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
  align-items: center;
}

.sy-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #eee;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  text-decoration: none;
  transition: all .25s ease;
}

.sy-footer__social a:hover {
  background: #fdc300;
  border-color: #fdc300;
  color: #1c2225;
}

/* ============================================================
   HEADER PLACEHOLDER (spacing for fixed header)
   ============================================================ */
.sy-header-space {
  height: 106px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1400px) {
  .sy-header__container,
  .sy-footer__container,
  .sy-footer__copyright-inner {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 1200px) {
  .sy-header__container,
  .sy-footer__container,
  .sy-footer__copyright-inner {
    padding-left: 40px;
    padding-right: 40px;
  }
  /* Tighten desktop menu padding before mobile breakpoint */
  .sy-nav > li > a {
    padding: 0 12px;
  }
}

@media (max-width: 999px) {
  /* Switch to mobile header */
  .sy-header__top {
    height: 54px;
  }

  .sy-header__container {
    padding: 0 20px;
    height: 54px;
  }

  .sy-header__logo img {
    height: 30px;
  }

  .sy-header__nav {
    display: none;
  }

  .sy-header__toggle {
    display: flex;
  }

  .sy-header-space {
    height: 54px;
  }

  /* Center logo on mobile */
  .sy-header__logo-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Footer responsive */
  .sy-footer__container {
    flex-direction: column;
    padding: 0 30px;
  }

  .sy-footer__col {
    margin-bottom: 25px;
  }

  .sy-footer__copyright-inner {
    flex-direction: column;
    padding: 0 30px;
  }

  .sy-footer__social {
    margin-top: 10px;
  }
}

/* Scroll state (JS adds .sy-header--scrolled) */
.sy-header--scrolled .sy-header__top {
  height: 70px;
}

.sy-header--scrolled .sy-nav > li,
.sy-header--scrolled .sy-nav--buttons > li,
.sy-header--scrolled .sy-btn-search {
  height: 70px;
}

.sy-header--scrolled .sy-header__logo img {
  height: 40px;
}
