/* Keep only logo scroll animation and logo dimension styles */

.custom-logo {
    height: 81px;
    width: 81px;
    padding: 0;
    margin: 0;
    display: block;
    object-fit: cover;
    font-size: 0;
    line-height: 0;
}

.custom-logo[src$=".svg"] {
    height: 82px;
    width: 150px;
    padding: 0;
    margin: 0;
    display: block;
    object-fit: cover;
}

@media (min-width: 1145px) {
  .default-logo {
    height: 82px;
    width: 125px;
    padding: 0;
    margin: 0;
    display: block;
    object-fit: cover;
    transition: opacity cubic-bezier(0.23, 1, 0.320, 1).5s;
  }
}

@media (max-width: 1144px) {
  .custom-logo-wrap {
    position: relative;
  }
}

/* --- HEADER FLEX LAYOUT --- */
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.site-branding {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
}

.custom-logo-wrap {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
}



.default-logo {
    width: 150px !important;
    height: 82px !important;
    object-fit: cover;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block;
    box-sizing: border-box;
}



.custom-logo-link {
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    line-height: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    box-sizing: border-box;

}

.site-branding,
.custom-logo-wrap {
    margin: 0;
    padding: 0;
    border: none;
}

body, html {
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
}

.site-branding,
.custom-logo-wrap,
.custom-logo-link {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    box-sizing: border-box;
}

.default-logo {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block;
    box-sizing: border-box;
}

.main-navigation {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.primary-menu-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

#primary-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
}

#primary-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

#primary-menu a {
    text-decoration: none;
    color: var(--secondary-color);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 12px;
    transition: color 0.2s, background 0.2s;
    border-radius: 2px;
    background: none;
}

#primary-menu a:hover,
#primary-menu a:focus {
    color: var(--primary-color);
    background: rgba(255,127,0,.25)
}

#primary-menu .current-menu-item > a,
#primary-menu .active > a {
    color: var(--primary-color);
   
    box-shadow: none;
}

.header-right {
    flex: 0 0 auto;
    min-width: 220px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    padding-right: 24px;
    background: none;
    position: relative;
    z-index: 10;
    height: 100%;
}

.header-right > * {
    white-space: nowrap;
}

.navbar-phone {
    order: 1;
    display: inline-flex;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: 0.05em;
    padding: 0 6px 0 0;
    height: 40px;
    transition: color 0.2s;
    background: transparent;
    white-space: nowrap;
}

.navbar-phone i {
    margin-right: 6px;
    font-size: 1.1em;
}

.navbar-phone:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.back-to-ssrga {
    order: 2;
    margin-left: 0;
    display: inline-block;
    background: #EA9036;
    color: #fff;
    padding: 8px 14px;
    text-decoration: none;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
    border: none;
    box-shadow: none;
    outline: none;
    white-space: nowrap;
}

.back-to-ssrga:hover, .back-to-ssrga:focus {
    background: var(--secondary-color);
    color: #fff;
}

/* Add max-width for large screens */
@media (min-width: 1526px) {
  .header-right {
    max-width: 400px;
  }
}

/* --- Burger Button Styles --- */
.burger-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1201;
  padding: 0;
}
.burger-bar {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary-color, #e2692b);
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 1465px) {
  .burger-menu-btn {
    display: flex;
  }
  .main-navigation {
    display: none !important;
  }
  .navbar-phone {
    display: none !important;
  }
  .header-right {
    flex-direction: row-reverse;
    justify-content: flex-start;
    gap: 12px;
  }
}

/* --- Modal Styles --- */
.mobile-menu-modal {
  display: none;
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 1200;
  background: transparent;
}
.mobile-menu-modal[aria-hidden="false"],
.mobile-menu-modal[open],
.mobile-menu-modal.active {
  display: block;
}
.mobile-menu-modal__overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
  transition: background 0.3s;
}
.mobile-menu-modal__panel {
  position: absolute;
  top: 0; right: 0;
  width: 320px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 16px rgba(0,0,0,0.12);
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 24px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  animation: none;
}
.mobile-menu-modal.active .mobile-menu-modal__panel,
.mobile-menu-modal[aria-hidden="false"] .mobile-menu-modal__panel,
.mobile-menu-modal[open] .mobile-menu-modal__panel {
  transform: translateX(0);
  animation: modalSlideIn 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--primary-color, #e2692b);
  cursor: pointer;
  z-index: 2;
}
.mobile-menu-modal__nav {
  margin-top: 32px;
}
.mobile-menu-modal__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu-modal__nav li {
  margin-bottom: 0;
}
.mobile-menu-modal__nav a {
  display: block;
  color: #111;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  text-align: left;
  padding: 18px 0 18px 0;
  border-bottom: 1px solid #e5e5e5;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.mobile-menu-modal__nav li:last-child a {
  border-bottom: none;
}
.mobile-menu-modal__nav a:hover {
  color: var(--primary-color, #e2692b);
  background: #faf7f3;
}
.mobile-menu-modal__phone {
  display: block;
  margin-top: 32px;
  color: var(--primary-color, #e2692b);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
}
.mobile-menu-modal__phone i {
  margin-right: 8px;
}

@media (min-width: 1466px) {
  .mobile-menu-modal,
  .burger-menu-btn {
    display: none !important;
  }
  .main-navigation {
    display: flex !important;
  }
}

/* Prevent body scroll when modal is open */
body.menu-modal-open {
  overflow: hidden;
}

@media (max-width: 368px) {
  .header-right {
    min-width: 160px;
  }
}

@media (max-width: 330px) {
  .back-to-ssrga {
    display: none !important;
  }
  .burger-menu-btn {
    margin-left: 70px;
  }
  .header-right {
    justify-content: flex-end;
  }
}

/* --- Modal Slide-in Animation --- */
@keyframes modalSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0.5;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* --- Global Footer Contact Form Styles --- */
.global-style.contact-form-section {
  background: #002041; /* Match footer blue */
  padding: 64px 0 0 0;
}
.global-style .container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.global-style .wpcf7-form {
  max-width: 540px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.12);
  padding: 40px 32px 32px 32px;
  margin-bottom: 0;
}
.global-style .wpcf7-form label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: #2b2b68;
  margin-bottom: 8px;
  margin-top: 18px;
  letter-spacing: 0.04em;
}
.global-style .wpcf7-form input[type="text"],
.global-style .wpcf7-form input[type="email"],
.global-style .wpcf7-form input[type="tel"],
.global-style .wpcf7-form textarea {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #e6e7e7;
  border-radius: 6px;
  font-size: 1.1em;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 8px;
  background: #f4f4f5;
  color: #212121;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.global-style .wpcf7-form input[type="text"]:focus,
.global-style .wpcf7-form input[type="email"]:focus,
.global-style .wpcf7-form input[type="tel"]:focus,
.global-style .wpcf7-form textarea:focus {
  border-color: #ea9036;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 2px #ea903633;
}
.global-style .wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}
.global-style .wpcf7-form input[type="submit"] {
  background: #ea9036;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1em;
  border: none;
  border-radius: 6px;
  padding: 14px 36px;
  margin-top: 18px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 8px rgba(234,144,54,0.08);
}
.global-style .wpcf7-form input[type="submit"]:hover {
  background: #e2692b;
  box-shadow: 0 4px 16px rgba(226,105,43,0.12);
}
.global-style .wpcf7-form .wpcf7-response-output {
  margin-top: 18px;
  font-size: 1em;
  color: #e2692b;
  background: #f4f4f5;
  border-radius: 6px;
  padding: 10px 16px;
  border: none;
}
@media (max-width: 700px) {
  .global-style .container {
    padding: 0 8px;
  }
  .global-style .wpcf7-form {
    padding: 24px 8px 16px 8px;
  }
}

/* --- Compact Two-Column Footer Contact Form --- */
.wider-footer-form .wpcf7-form {
  max-width: 420px;
  padding: 24px 16px 16px 16px;
  border-radius: 12px;
}
.wider-footer-form .wpcf7-form label {
  font-size: 0.98em;
  margin-top: 10px;
  margin-bottom: 4px;
}
.wider-footer-form .wpcf7-form input[type="text"],
.wider-footer-form .wpcf7-form input[type="email"],
.wider-footer-form .wpcf7-form input[type="tel"],
.wider-footer-form .wpcf7-form textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  font-size: 1em;
  border-radius: 6px;
  margin-bottom: 10px;
  border: 1px solid #e6e7e7;
  background: #f4f4f5;
  color: #212121;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wider-footer-form .wpcf7-form input[type="text"]:focus,
.wider-footer-form .wpcf7-form input[type="email"]:focus,
.wider-footer-form .wpcf7-form input[type="tel"]:focus,
.wider-footer-form .wpcf7-form textarea:focus {
  border-color: #ea9036;
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 2px #ea903633;
}
.wider-footer-form .wpcf7-form textarea {
  min-height: 70px;
  max-height: 120px;
}
.wider-footer-form .wpcf7-form input[type="submit"] {
  padding: 10px 24px;
  font-size: 1em;
  border-radius: 5px;
  margin-top: 10px;
}
.wider-footer-form .wpcf7-form .wpcf7-response-output {
  font-size: 0.95em;
  padding: 8px 12px;
}
.footer-contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 1em;
}
.footer-contact-info-title {
  font-size: 1.1em;
  margin-bottom: 8px;
}
.footer-contact-address,
.footer-contact-phones {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-icon {
  font-family: 'FontAwesome', 'Arial', sans-serif;
  font-size: 1.1em;
  margin-right: 6px;
  color: #ea9036;
  min-width: 18px;
  text-align: center;
}
.footer-contact-phones a {
  color: #fff;
  text-decoration: none;
  margin-right: 10px;
}
.footer-contact-phones a:hover {
  color: #ea9036;
}
@media (max-width: 900px) {
  .wider-footer-form .wpcf7-form {
    max-width: 90%;
  }
}

.footer-bottom {
  background: #002041;
  color: #fff;
  padding: 32px 0 0 0;
  text-align: center;
}
.footer-bottom .footer-menu a,
.footer-bottom .site-info,
.footer-bottom .social-links a {
  color: #fff;
}
.footer-bottom .social-links a {
  font-size: 2rem;
  margin: 0 8px;
  transition: color 0.2s;
}
.footer-bottom .social-links a:hover {
  color: #ea9036;
}

.wider-footer-form .container {
  max-width: 1200px;
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  padding: 0 16px;
}
.footer-contact-columns {
  display: flex;
  width: 100%;
  gap: 48px;
}
.footer-contact-form-col {
  flex: 2 1 400px;
}
.footer-contact-info-col {
  flex: 1 1 260px;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1em;
  background: none;
  padding: 32px 0 0 0;
}
@media (max-width: 900px) {
  .footer-contact-columns {
    flex-direction: column;
    gap: 24px;
  }
  .footer-contact-info-col {
    padding: 0;
  }
}

.footer-contact-title {
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2em;
  margin-top: 0;
  width: 100%;
  display: block;
}
.footer-contact-title-underline {
  display: block;
  width: 90px;
  height: 4px;
  background: #ea9036;
  margin: 0.5em auto 2em auto;
  border-radius: 2px;
}
.footer-contact-form-col > .footer-contact-title,
.footer-contact-form-col > .footer-contact-title-underline {
  display: none;
}
.contact-form-section > .container > .footer-contact-title,
.contact-form-section > .container > .footer-contact-title-underline {
  display: block;
} 