/* ===== Layout Fix v1.2 — Full width header/footer, sticky, hero align ===== */

html, body.saew-site {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

body.saew-site .site,
body.saew-site #page,
body.saew-site .site-container,
body.saew-site .content-area,
body.saew-site main {
  width: 100% !important;
  max-width: 100% !important;
}

.topbar,
.site-header,
.site-footer,
.hero,
.page-hero,
.cta-banner,
.highlights,
.section,
.section-alt,
.section-blue-soft,
.section-orange-soft,
.section-mint,
.section-soft-white {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
}

.topbar {
  background: #0b3a6e !important;
  position: relative;
  z-index: 10001;
}
.site-footer {
  background: linear-gradient(180deg, #0d427c 0%, #082844 100%) !important;
  position: relative;
}

.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 10000 !important;
  width: 100% !important;
  background: rgba(238, 242, 247, 0.97) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 24px rgba(11, 58, 110, 0.08);
  border-bottom: 1px solid rgba(11, 58, 110, 0.06);
}
body.admin-bar .site-header { top: 32px !important; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px !important; }
}
.site-header.scrolled {
  box-shadow: 0 8px 32px rgba(11, 58, 110, 0.14) !important;
}

/* ===== Two-row header: big logo | centered name + centered menu bar ===== */
.header-shell {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  column-gap: 20px !important;
  row-gap: 8px !important;
  width: min(1280px, 94%) !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 12px 0 14px !important;
  box-sizing: border-box !important;
}
.topbar-inner,
.footer-inner {
  width: min(1280px, 94%) !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

/* ===== Professional footer ===== */
.site-footer {
  padding: 48px 0 0 !important;
  color: rgba(255, 255, 255, 0.78);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1.4fr 1fr;
  gap: 40px 36px;
  padding-bottom: 36px !important;
  align-items: start;
}
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.footer-logo {
  display: inline-flex;
  text-decoration: none;
}
.footer-logo img {
  height: 88px;
  width: auto;
  display: block;
  background: #fff;
  border-radius: 14px;
  padding: 4px;
}
.footer-tagline {
  margin: 0;
  max-width: 22rem;
  line-height: 1.55;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover {
  background: #e85d04;
  color: #fff;
}
.footer-mid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}
.footer-block h4,
.footer-contact-block h4 {
  margin: 0 0 14px;
  color: #fff;
  font-family: Rajdhani, sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 10px;
}
.footer-block h4::after,
.footer-contact-block h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: #e85d04;
  border-radius: 2px;
}
.footer-block ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-block li { margin: 0 0 9px; }
.footer-block a,
.footer-contact-block a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.94rem;
  transition: color 0.2s;
}
.footer-block a:hover,
.footer-contact-block a:hover {
  color: #ff9a4a;
}
.footer-contact-block p {
  margin: 0 0 12px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
  font-size: 0.92rem;
}
.footer-contact-block i {
  color: #ff9a4a;
  margin-top: 3px;
  width: 16px;
  flex: 0 0 16px;
  text-align: center;
}
.footer-base {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
}
.footer-base p { margin: 0; }
.footer-credit a {
  color: #ff9a4a;
  font-weight: 700;
  text-decoration: none;
}
.footer-credit a:hover { color: #fff; }
.footer-credit .fa-instagram { margin-left: 4px; }

@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-top { grid-column: 1 / -1; align-items: center; text-align: center; }
  .footer-tagline { margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
  .footer-contact-block { grid-column: 1 / -1; }
  .footer-contact-block h4 { text-align: center; }
  .footer-contact-block h4::after { left: 50%; transform: translateX(-50%); }
  .footer-contact-block p { justify-content: center; text-align: center; }
  .footer-base { justify-content: center; text-align: center; }
}

.header-shell > .logo {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  z-index: 3;
}
.header-shell > .logo .logo-img {
  height: 112px !important;
  width: auto !important;
  max-height: 112px !important;
  display: block !important;
}

.header-brand-row {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  gap: 12px !important;
  min-width: 0;
  width: 100%;
}
.header-site-name {
  font-family: "Rajdhani", sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(1.4rem, 1.15rem + 1.15vw, 2.1rem) !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  color: #0b3a6e !important;
  line-height: 1.05 !important;
  text-align: center !important;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7), 0 2px 8px rgba(11, 58, 110, 0.12);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  margin: 0 !important;
}

.header-nav-row {
  grid-column: 2 !important;
  grid-row: 2 !important;
  min-width: 0;
  width: 100%;
}

.header-nav-bar.header-inner,
.header-inner {
  display: grid !important;
  grid-template-columns: 1fr auto !important;
  align-items: center !important;
  column-gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 58px !important;
  min-height: 58px !important;
  margin: 0 !important;
  padding: 6px 10px 6px 12px !important;
  box-sizing: border-box !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    8px 8px 18px rgba(168, 180, 198, 0.35),
    -6px -6px 16px rgba(255, 255, 255, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.75);
  overflow: visible !important;
  position: relative !important;
}

.header-inner > .nav-toggle,
.header-brand-row > .nav-toggle {
  display: none !important;
}
.header-inner > .nav-overlay {
  display: none !important;
  grid-column: 1 / -1;
  width: 0;
  height: 0;
  overflow: hidden;
}

.header-inner > .main-nav {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  bottom: auto !important;
  inset: auto !important;
  transform: none !important;
  translate: none !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 2;
}
.header-inner > .main-nav > li {
  position: relative;
  flex: 0 0 auto;
  margin: 0 !important;
  list-style: none;
  display: block !important;
}
.header-inner > .main-nav > li > a {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  padding: 9px 14px !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.05em !important;
  line-height: 1.2 !important;
  border-radius: 999px !important;
}

.header-inner > .header-cta {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
  position: static !important;
  float: none !important;
  z-index: 3;
}
.header-inner > .header-cta .btn {
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 9px 14px !important;
  font-size: 0.76rem !important;
  line-height: 1.2 !important;
  border-radius: 999px !important;
}

@media (min-width: 901px) and (max-width: 1200px) {
  .header-shell {
    width: min(1140px, 96%) !important;
    column-gap: 14px !important;
  }
  .header-shell > .logo .logo-img {
    height: 92px !important;
    max-height: 92px !important;
  }
  .header-site-name {
    font-size: 1.35rem !important;
    letter-spacing: 0.04em !important;
  }
  .header-inner {
    height: 52px !important;
    min-height: 52px !important;
  }
  .header-inner > .main-nav > li > a {
    padding: 8px 10px !important;
    font-size: 0.7rem !important;
  }
  .header-inner > .header-cta .btn {
    padding: 8px 10px !important;
    font-size: 0.7rem !important;
  }
}

.hero {
  display: block !important;
  position: relative !important;
  min-height: calc(100vh - 130px) !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background-color: #0a2340 !important;
  background-image:
    linear-gradient(105deg, rgba(8, 28, 52, 0.48) 0%, rgba(8, 28, 52, 0.32) 38%, rgba(8, 28, 52, 0.18) 68%, rgba(8, 28, 52, 0.12) 100%),
    url("../images/hero-bg.jpg") !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
}
.hero::before {
  background:
    radial-gradient(ellipse at 12% 35%, rgba(232, 93, 4, 0.14), transparent 42%),
    radial-gradient(ellipse at 88% 70%, rgba(11, 58, 110, 0.12), transparent 48%) !important;
}
.hero-inner,
.hero-inner--left {
  width: min(1480px, 94%) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  align-items: center !important;
  min-height: calc(100vh - 130px);
  padding: 80px 0 !important;
  box-sizing: border-box;
}
.hero-inner .hero-content {
  position: relative !important;
  z-index: 2 !important;
  max-width: 620px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  align-items: flex-start !important;
}
.hero-visual,
.hero-inner .hero-visual {
  display: none !important;
}
.hero-visual-card {
  display: none !important;
}

/* Photo hero typography */
.hero-photo .hero-brand {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-photo .hero-brand i { color: #ff9a4a !important; }
.hero-photo h1 { color: #fff !important; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.hero-photo h1 span { color: #ff9a4a !important; }
.hero-photo p {
  color: rgba(255, 255, 255, 0.9) !important;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
}
.hero-photo .btn-outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.hero-photo .btn-outline:hover {
  background: rgba(255, 255, 255, 0.18) !important;
}
/* Photo hero stats — white cards, orange numbers, black labels */
.hero-photo .hero-stat {
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: none;
}
.hero-photo .hero-stat strong { color: #e85d04 !important; }
.hero-photo .hero-stat span { color: #1a2b4a !important; }

/* Logo image — larger, cropped asset */
.logo-with-img { gap: 14px !important; }
.logo-img {
  display: block !important;
  height: 112px !important;
  width: auto !important;
  max-width: none !important;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-img--footer {
  height: 96px !important;
}
.logo-img--drawer {
  height: 58px !important;
}
.logo-with-img .logo-mark,
.nav-drawer-brand .logo-mark {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-inner,
  .hero-inner--left {
    grid-template-columns: 1fr !important;
    min-height: auto;
    padding: 56px 0 !important;
  }
  .hero-inner .hero-content { max-width: 100% !important; }

  /* Tablet / mobile hero: center + side-by-side CTAs */
  .home .hero-content {
    display: flex !important;
    flex-direction: column !important;
    text-align: center !important;
    align-items: center !important;
    margin: 0 auto !important;
  }
  .home .hero h1,
  .home .hero p,
  .home .hero-brand {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .home .hero-brand {
    display: inline-flex !important;
  }
  .home .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .home .hero-actions .btn {
    flex: 1 1 0;
    justify-content: center;
    padding: 11px 12px !important;
    font-size: 0.78rem !important;
    white-space: nowrap;
  }
  .home .btn-label-full { display: none !important; }
  .home .btn-label-short { display: inline !important; }
  .home .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    max-width: 560px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }
}
@media (max-width: 700px) {
  .home .hero-stats,
  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 900px) {
  .header-cta { display: none !important; }

  body.nav-open { overflow: hidden; }

  /* Mobile header bar: logo + name + hamburger */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
  }
  .header-shell {
    display: grid !important;
    grid-template-columns: auto 1fr auto !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    column-gap: 10px !important;
    row-gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 14px !important;
  }
  .header-shell > .logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  .header-shell > .logo .logo-img {
    height: 58px !important;
    max-height: 58px !important;
  }
  .header-brand-row {
    grid-column: 2 / 4 !important;
    grid-row: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
  }
  .header-site-name {
    flex: 1 1 auto;
    font-size: 0.88rem !important;
    letter-spacing: 0.03em !important;
    white-space: normal !important;
    line-height: 1.15 !important;
    text-align: left;
  }
  .header-brand-row > .nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 12px;
    background: #eef2f7;
    box-shadow: 6px 6px 12px #c8d0dc, -6px -6px 12px #fff;
    color: #0b3a6e;
    font-size: 1.2rem;
    z-index: 1102;
  }
  .header-nav-row {
    display: block !important;
    position: static !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    pointer-events: none;
  }
  .header-nav-bar.header-inner,
  .header-inner {
    display: block !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
    width: 0 !important;
    overflow: visible !important;
  }
  .header-inner > .header-cta {
    display: none !important;
  }
  .header-inner > .nav-overlay {
    display: none;
    pointer-events: auto;
  }
  .header-inner > .nav-overlay.show {
    display: block !important;
  }
  .logo {
    flex: 0 0 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    gap: 0 !important;
  }
  .logo-img {
    height: 58px !important;
  }
  .logo-with-img .logo-text {
    display: none !important;
  }
  .logo-mark {
    display: none !important;
  }
  .logo-text {
    min-width: 0;
    overflow: hidden;
  }
  .logo-text strong {
    font-size: 0.98rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .logo-text span {
    font-size: 0.62rem !important;
    letter-spacing: 0.06em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }

  /* Side drawer — portaled to body (header backdrop-filter breaks fixed) */
  body > .main-nav#saew-main-nav,
  body > .main-nav,
  .main-nav#saew-main-nav,
  .main-nav {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    bottom: 0 !important;
    width: min(340px, calc(100vw - 40px)) !important;
    height: 100% !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 0 24px !important;
    background: #eef2f7 !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    list-style: none !important;
    transform: translateX(105%) !important;
    translate: none !important;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1) !important;
    z-index: 100100 !important;
    box-shadow: -16px 0 40px rgba(11, 58, 110, 0.18) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  body.admin-bar > .main-nav#saew-main-nav,
  body.admin-bar > .main-nav,
  body.admin-bar .main-nav#saew-main-nav,
  body.admin-bar .main-nav {
    top: 46px !important;
    height: calc(100% - 46px) !important;
    max-height: calc(100dvh - 46px) !important;
  }
  body.nav-open > .main-nav#saew-main-nav,
  body.nav-open > .main-nav,
  body > .main-nav.open,
  .main-nav#saew-main-nav.open,
  .main-nav.open {
    transform: translateX(0) !important;
  }

  body > .nav-overlay,
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 58, 110, 0.45);
    backdrop-filter: blur(2px);
    z-index: 100050;
    pointer-events: auto;
  }
  body.admin-bar > .nav-overlay,
  body.admin-bar .nav-overlay { top: 46px; }
  body > .nav-overlay.show,
  .nav-overlay.show { display: block !important; }

  .main-nav > li:not(.nav-drawer-head):not(.nav-drawer-cta) > a {
    white-space: normal !important;
    line-height: 1.3 !important;
  }

  /* Drawer top bar: brand left, X top-right — always visible */
  .nav-drawer-head {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: sticky !important;
    top: 0 !important;
    z-index: 5;
    margin: 0 !important;
    padding: 14px 56px 14px 14px !important;
    background: #0b3a6e !important;
    border-bottom: none !important;
    list-style: none;
    min-height: 84px;
    box-sizing: border-box;
    flex: 0 0 auto !important;
  }
  .nav-drawer-brand {
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
    text-decoration: none;
    color: #fff !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .nav-drawer-brand .logo-mark {
    display: none !important;
  }
  .nav-drawer-brand .logo-img,
  .nav-drawer-brand .logo-img--drawer {
    height: 64px !important;
    width: auto !important;
    background: #fff;
    border-radius: 12px;
    padding: 3px;
    display: block !important;
  }
  .nav-drawer-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
  }
  .nav-drawer-brand-text strong {
    font-family: Rajdhani, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: #fff;
    font-style: normal;
  }
  .nav-drawer-brand-text em {
    font-style: normal;
    font-size: 0.66rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
  }

  /* Exit button — absolute top-right corner */
  .nav-close {
    position: absolute !important;
    top: 18px !important;
    right: 12px !important;
    flex: none !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 50% !important;
    background: #e85d04 !important;
    box-shadow: 0 4px 12px rgba(232, 93, 4, 0.45) !important;
    color: #fff !important;
    font-size: 1.15rem !important;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    z-index: 5;
  }
  .nav-close:active {
    transform: scale(0.96);
  }

  .main-nav > li:not(.nav-drawer-head):not(.nav-drawer-cta) {
    border-bottom: 1px solid rgba(11, 58, 110, 0.08);
  }
  .main-nav > li:not(.nav-drawer-head):not(.nav-drawer-cta) > a {
    padding: 15px 20px !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.03em;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #0b3a6e !important;
    justify-content: space-between;
  }
  .main-nav > li.active > a,
  .main-nav > li:not(.nav-drawer-head) > a:hover {
    color: #e85d04 !important;
    background: rgba(232, 93, 4, 0.08) !important;
    box-shadow: none !important;
  }

  .dropdown,
  .mega-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 100% !important;
    display: none;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 12px 12px !important;
    background: rgba(11, 58, 110, 0.04) !important;
    border-radius: 0 !important;
  }
  .main-nav > li.open > .dropdown,
  .main-nav > li.open > .mega-menu {
    display: grid !important;
  }
  .mega-menu { grid-template-columns: 1fr !important; gap: 4px !important; }
  .dropdown a,
  .mega-menu a {
    padding: 10px 12px !important;
    font-size: 0.9rem !important;
  }

  .nav-drawer-cta {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    padding: 20px 16px 8px;
    margin-top: auto;
    list-style: none;
  }
  .nav-drawer-cta .btn {
    width: 100%;
    justify-content: center;
    margin: 0 !important;
    padding: 13px 16px !important;
    font-size: 0.88rem !important;
  }

  /* Footer — stacked, centered, professional */
  .site-footer { padding: 36px 0 0 !important; }
  .footer-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 28px !important;
    text-align: center !important;
    padding: 0 16px 8px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .footer-top {
    align-items: center !important;
    width: 100%;
  }
  .footer-logo img {
    height: 100px !important;
    margin: 0 auto;
  }
  .footer-tagline {
    max-width: 22rem;
    margin: 0 auto;
    text-align: center !important;
  }
  .footer-social {
    justify-content: center !important;
  }
  .footer-mid {
    width: 100% !important;
    max-width: 420px;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px 16px !important;
    text-align: center !important;
  }
  .footer-block h4,
  .footer-contact-block h4 {
    text-align: center !important;
  }
  .footer-block h4::after,
  .footer-contact-block h4::after {
    left: 50% !important;
    transform: translateX(-50%);
  }
  .footer-contact-block {
    width: 100%;
    max-width: 26rem;
  }
  .footer-contact-block p {
    justify-content: center !important;
    text-align: center !important;
    flex-wrap: wrap;
  }
  .footer-base {
    width: 100%;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 8px !important;
    padding: 16px 8px 20px !important;
  }
  .footer-credit {
    font-size: 0.86rem;
    line-height: 1.45;
  }
}

@media (max-width: 600px) {
  .footer-logo img { height: 92px !important; }
  .footer-mid { gap: 18px 12px !important; }
  .footer-block a,
  .footer-contact-block a,
  .footer-contact-block p { font-size: 0.88rem !important; }
  .footer-credit { font-size: 0.8rem !important; }
  .logo-text span { display: none !important; }
  .logo-text strong { font-size: 1.02rem !important; }

  /* Home / page content — center aligned on mobile */
  .home .hero-inner,
  .home .hero-content,
  .home .section-header,
  .home .container > .section-header,
  .home .about-content,
  .home .cta-banner,
  .home .saew-cnc-steps-head {
    text-align: center !important;
  }
  .home .hero-inner {
    justify-items: center !important;
    padding: 36px 0 28px !important;
  }
  .home .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 24px 0 10px !important;
  }
  .home .hero-brand {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.78rem !important;
    padding: 8px 14px !important;
  }
  .home .hero h1 {
    font-size: clamp(1.75rem, 8vw, 2.35rem) !important;
    line-height: 1.15 !important;
    text-align: center !important;
  }
  .home .hero p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 34rem !important;
    font-size: 0.95rem !important;
    margin-bottom: 22px !important;
  }

  /* Hero buttons — side by side, smaller */
  .home .hero-actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: auto !important;
    max-width: 100% !important;
  }
  .home .hero-actions .btn {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    justify-content: center !important;
    padding: 9px 14px !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.02em !important;
    gap: 6px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }
  .home .hero-actions .btn i {
    font-size: 0.78rem !important;
  }
  .home .btn-label-full { display: none !important; }
  .home .btn-label-short { display: inline !important; }

  .home .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 24px !important;
    padding-top: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
  }
  .home .hero-stat {
    min-width: 0 !important;
    max-width: none !important;
    flex: none !important;
    padding: 12px 8px !important;
    text-align: center !important;
  }
  .home .hero-stat strong { font-size: 1.25rem !important; }
  .home .hero-stat span { font-size: 0.58rem !important; }

  .home .highlight-card,
  .home .service-card,
  .home .product-card,
  .home .process-step,
  .home .why-item,
  .home .industry-card,
  .home .glass-card,
  .home .category-tile,
  .home .faq-item,
  .home .testimonial-card {
    text-align: center !important;
  }
  .home .highlight-card .icon-wrap,
  .home .service-card .icon-wrap,
  .home .process-step .icon-wrap,
  .home .why-item .icon-wrap {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .home .why-item {
    flex-direction: column !important;
    align-items: center !important;
  }
  .home .section-title,
  .home .section-sub,
  .home .section-eyebrow {
    text-align: center !important;
  }
  .home .about-content,
  .home .about-content .section-title {
    text-align: center !important;
  }
  .home .check-list,
  .home .feature-list {
    text-align: left !important;
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .home .about-content .btn,
  .home .cta-banner .btn,
  .home .link-more {
    margin-left: auto;
    margin-right: auto;
  }
  .home .product-body,
  .home .product-card .product-body {
    text-align: center !important;
  }
  .home .product-card .btn {
    margin-left: auto;
    margin-right: auto;
  }
  .home .saew-cnc-flow {
    justify-content: center !important;
  }
  .home .saew-cnc-wizard {
    text-align: left !important; /* forms stay left for readability */
  }
}

@media (min-width: 901px) {
  /* Hide mobile-only chrome completely */
  body.saew-site .nav-drawer-head,
  body.saew-site .nav-drawer-cta,
  body.saew-site .nav-close,
  body.saew-site .nav-toggle {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
  }

  body.saew-site .header-nav-row {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }

  body.saew-site .header-nav-bar.header-inner,
  body.saew-site .header-inner {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 6px 10px 6px 12px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    box-shadow:
      8px 8px 18px rgba(168, 180, 198, 0.35),
      -6px -6px 16px rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    overflow: visible !important;
  }

  body.saew-site .header-inner > .nav-overlay,
  body.saew-site .nav-overlay {
    display: none !important;
  }

  body.saew-site .header-inner > .main-nav,
  body.saew-site .main-nav#saew-main-nav,
  body.saew-site ul.main-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 10px !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    bottom: auto !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    translate: none !important;
    overflow: visible !important;
    z-index: 2 !important;
    pointer-events: auto !important;
  }
  body.saew-site .header-inner > .main-nav > li > a {
    padding: 9px 14px !important;
  }

  body.saew-site .header-inner > .header-cta {
    display: flex !important;
  }

  body.saew-site .header-brand-row {
    justify-content: center !important;
  }
  body.saew-site .header-site-name {
    text-align: center !important;
    width: 100% !important;
  }
}

@media (max-width: 900px) and (min-width: 783px) {
  body.admin-bar .header-inner > .main-nav#saew-main-nav,
  body.admin-bar .header-inner > .main-nav,
  body.admin-bar .main-nav {
    top: 32px !important;
    height: calc(100% - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
  }
  body.admin-bar .header-inner > .nav-overlay,
  body.admin-bar .nav-overlay { top: 32px; }
}

.btn-label-short { display: none; }
.btn-label-full { display: inline; }

@media (max-width: 900px) {
  .btn-label-full { display: none; }
  .btn-label-short { display: inline; }
}
