/* Stellax design system — complements Elementor Global Colors / Fonts.
   Colors come from Elementor globals (Site Settings) with fallbacks. */
:root {
	--stx-navy: var(--e-global-color-primary, #0E2A55);
	--stx-deep: var(--e-global-color-secondary, #071B36);
	--stx-text: var(--e-global-color-text, #52627B);
	--stx-gold: var(--e-global-color-accent, #F2B53A);
	--stx-light: var(--e-global-color-stxlight, #F3F7FC);
	--stx-sky: var(--e-global-color-stxsky, #DCE7F5);
	--stx-line: var(--e-global-color-stxline, #E3E9F2);
	--stx-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--stx-sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--stx-ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; }
body.elementor-template-canvas { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.elementor-template-canvas :focus-visible { outline: 2px solid var(--stx-gold); outline-offset: 3px; }
.stx-gold, .stx-gold * { color: var(--stx-gold) !important; }

/* Eyebrow: gold rule + small caps label */
.stx-eyebrow .elementor-heading-title {
	display: inline-flex; align-items: center; gap: 16px;
}
.stx-eyebrow .elementor-heading-title::before {
	content: ""; width: 44px; height: 2px; background: var(--stx-gold); flex: none;
}
.stx-eyebrow--center .elementor-heading-title { justify-content: center; }
.stx-eyebrow--short .elementor-heading-title::before { width: 22px; }

/* Short gold underline below a heading (footer column titles, cards) */
.stx-underline .elementor-heading-title::after {
	content: ""; display: block; width: 28px; height: 2px; margin-top: 14px; background: var(--stx-gold);
}

/* ---------- Header ---------- */
.stx-topbar a { color: inherit; }
.stx-topbar .elementor-icon-list-item:not(:last-child)::after { border-color: rgba(255,255,255,.35) !important; }
.stx-header { transition: box-shadow .3s var(--stx-ease); position: relative; z-index: 50; }
.stx-header.is-scrolled { box-shadow: 0 8px 30px rgba(7, 27, 54, .10); }
.stx-sticky-wrap { position: sticky; top: 0; z-index: 999; }
.admin-bar .stx-sticky-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar .stx-sticky-wrap { top: 0; } }

/* Logo star accent (matches the mockup's gold star over the "A") */
.stx-logo { position: relative; }
.stx-logo img { display: block; }

/* Main navigation (Header & Footer Builder "Navigation Menu" widget) */
.stx-nav .hfe-nav-menu > li.menu-item > a.hfe-menu-item { position: relative; }
.stx-nav .hfe-nav-menu > li.menu-item > a.hfe-menu-item::after {
	content: ""; position: absolute; left: 50%; right: 50%; bottom: -8px; height: 2px;
	background: var(--stx-gold); transition: left .3s var(--stx-ease), right .3s var(--stx-ease);
}
.stx-nav .hfe-nav-menu > li.menu-item:hover > a.hfe-menu-item::after,
.stx-nav .hfe-nav-menu > li.current-menu-item > a.hfe-menu-item::after,
.stx-nav .hfe-nav-menu > li.current-menu-ancestor > a.hfe-menu-item::after,
.stx-nav .hfe-nav-menu > li.current-menu-parent > a.hfe-menu-item::after { left: 0; right: 0; }
.stx-nav .hfe-nav-menu > li.current-menu-item > a.hfe-menu-item,
.stx-nav .hfe-nav-menu > li.current-menu-ancestor > a.hfe-menu-item { font-weight: 600; }
@media (min-width: 1025px) { .stx-nav .hfe-nav-menu { flex-wrap: nowrap !important; } .stx-nav .hfe-nav-menu > li > a.hfe-menu-item { white-space: nowrap; } }
html[lang^="ja"] .stx-nav .hfe-nav-menu > li.menu-item:not(:last-child) { margin-right: 30px !important; }
@media (min-width: 1025px) and (max-width: 1200px) { .stx-nav .hfe-nav-menu > li.menu-item:not(:last-child) { margin-right: 26px !important; } }
.stx-nav .sub-menu { border-top: 2px solid var(--stx-gold); box-shadow: 0 18px 40px rgba(7,27,54,.14); min-width: 230px; }
.stx-nav .sub-menu a.hfe-sub-menu-item { transition: padding-left .25s var(--stx-ease), color .25s; }
.stx-nav .sub-menu a.hfe-sub-menu-item:hover { padding-left: 26px; }
@media (max-width: 1024px) {
	.stx-nav .hfe-nav-menu > li.menu-item > a.hfe-menu-item::after { display: none; }
	.stx-nav nav.hfe-dropdown { box-shadow: 0 20px 40px rgba(7,27,54,.15); border-top: 2px solid var(--stx-gold); }
	.stx-nav .hfe-dropdown .current-menu-item > a, .stx-nav .hfe-dropdown .current-menu-ancestor > a { color: var(--stx-gold) !important; }
}

/* Language switcher */
.stx-lang { display: inline-flex; align-items: center; gap: 8px; font-family: var(--stx-sans); font-size: 13px; font-weight: 500; white-space: nowrap; }
.stx-lang span { color: #A7B3C6; }
.stx-lang a { color: var(--stx-navy); text-decoration: none; padding: 2px 0; border-bottom: 2px solid transparent; transition: border-color .25s, color .25s; }
.stx-lang a:hover { color: var(--stx-gold); }
.stx-lang a.is-active { border-bottom-color: var(--stx-gold); font-weight: 600; }
.stx-lang--light a { color: #fff; }
.stx-lang--light a.is-active { color: #fff; }

/* Search icon (HFE search widget, icon layout) */
.stx-search .hfe-search-icon-toggle i { transition: color .25s; }
.stx-search .hfe-search-icon-toggle:hover i { color: var(--stx-gold) !important; }

/* ---------- Buttons ---------- */
.elementor-button { transition: background-color .3s var(--stx-ease), color .3s, border-color .3s, transform .3s var(--stx-ease), box-shadow .3s; }
.elementor-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7,27,54,.18); }
.elementor-button .elementor-button-icon { transition: transform .3s var(--stx-ease); }
.elementor-button:hover .elementor-button-icon { transform: translateX(4px); }
.stx-link-arrow .elementor-button { box-shadow: none !important; transform: none !important; }
.stx-link-arrow .elementor-button .elementor-button-text { border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ---------- Hero slider ---------- */
.stx-hero { position: relative; overflow: hidden; }
.stx-hero .stx-slide { transition: opacity 1.5s ease-in-out, visibility 1.5s; }
/* Before stx.js runs, show only the first slide (otherwise all three stack up and the page jumps). */
.stx-hero:not(.is-ready) .stx-slide:not(:first-child) { display: none !important; }
/* Page-hero text: animate with CSS on first paint instead of waiting for Elementor's scripts to load. */
.stx-page-hero .elementor-widget, .stx-page-hero .elementor-widget.elementor-invisible { visibility: visible !important; animation: stxRise .7s var(--stx-ease) both !important; }
.stx-page-hero .elementor-widget:nth-child(2) { animation-delay: .08s !important; }
.stx-page-hero .elementor-widget:nth-child(3) { animation-delay: .16s !important; }
.stx-page-hero .elementor-widget:nth-child(4) { animation-delay: .24s !important; }
.stx-hero.is-ready .stx-slide { position: absolute !important; inset: 0; opacity: 0; visibility: hidden; }
.stx-hero.is-ready .stx-slide.is-active { position: relative !important; opacity: 1; visibility: visible; }
.stx-hero.is-ready .stx-slide:not(.is-active) { pointer-events: none; }
.stx-hero .stx-slide.is-active .e-con-inner > *, .stx-hero .stx-slide.is-active > .e-con > * { animation: stxRise .9s var(--stx-ease) both; }
.stx-hero .stx-slide.is-active .elementor-element:nth-child(2) { animation-delay: .1s; }
.stx-hero .stx-slide.is-active .elementor-element:nth-child(3) { animation-delay: .2s; }
.stx-hero .stx-slide.is-active .elementor-element:nth-child(4) { animation-delay: .3s; }
.stx-hero .stx-slide { background-size: cover !important; }
.stx-hero .stx-slide.is-active { animation: stxKen 12s ease-out both; }
@keyframes stxKen { from { background-size: 108% auto; } to { background-size: 100% auto; } }
.stx-dots { position: absolute; right: max(24px, calc((100vw - 1200px) / 2)); bottom: 34px; z-index: 5; display: flex; align-items: center; gap: 10px; }
.stx-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; background: rgba(255,255,255,.6); cursor: pointer; transition: width .4s var(--stx-ease), background .3s; }
.stx-dots button[aria-current="true"] { width: 42px; background: var(--stx-gold); }
.stx-scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; font: 600 11px/1 var(--stx-sans); letter-spacing: 3px; text-transform: uppercase; text-decoration: none; }
.stx-scroll i { width: 26px; height: 40px; border: 1.5px solid rgba(255,255,255,.75); border-radius: 14px; position: relative; }
.stx-scroll i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: stxScroll 1.8s ease-in-out infinite; }
@keyframes stxScroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes stxRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) { .stx-scroll { display: none; } .stx-dots { right: 50%; transform: translateX(50%); bottom: 20px; } }

/* Hero strap (right side box in the home hero) */
.stx-strap { border-left: 3px solid var(--stx-gold); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Breadcrumbs */
.stx-crumbs a { color: #fff; text-decoration: none; }
.stx-crumbs a:hover { color: var(--stx-gold); }

/* ---------- Media frames ---------- */
.stx-frame { position: relative; isolation: isolate; }
.stx-frame::before { content: ""; position: absolute; z-index: -1; top: -18px; right: -18px; width: 52%; height: 62%; background: var(--stx-sky); border-radius: 4px; }
.stx-frame--left::before { right: auto; left: -18px; }
.stx-frame--gold::after { content: ""; position: absolute; right: 22px; bottom: -6px; width: 70px; height: 6px; background: var(--stx-gold); border-radius: 0 0 3px 3px; }
.stx-zoom { overflow: hidden; border-radius: 6px; }
.stx-zoom img { transition: transform 1.2s var(--stx-ease); will-change: transform; }
.stx-zoom:hover img, .stx-card:hover .stx-zoom img { transform: scale(1.05); }
.stx-reveal { clip-path: inset(0 0 0 0); }
.stx-reveal.elementor-invisible { clip-path: inset(0 100% 0 0); }
.stx-reveal.animated { animation: stxReveal 1.1s var(--stx-ease) both !important; }
@keyframes stxReveal { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

/* Floating note card (home about image) */
.stx-note { box-shadow: 0 20px 45px rgba(7,27,54,.12); }

/* Overlay badges (Market Intelligence image) */
.stx-badges { position: absolute !important; right: -16px; top: 50%; transform: translateY(-50%); z-index: 3; }
.stx-badge { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: transform .35s var(--stx-ease), background .35s; }
.stx-badge:hover { transform: translateX(-6px); }
@media (max-width: 767px) { .stx-badges { position: relative !important; right: auto; top: auto; transform: none; margin-top: -40px; } }

/* ---------- Cards ---------- */
.stx-card { transition: transform .45s var(--stx-ease), box-shadow .45s var(--stx-ease), border-color .45s; will-change: transform; }
.stx-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(7,27,54,.12) !important; }
.stx-card .elementor-icon { transition: transform .45s var(--stx-ease); }
.stx-card:hover .elementor-icon { transform: rotate(-6deg) scale(1.06); }
.stx-card a { position: relative; z-index: 2; }

.stx-feature .elementor-icon-box-icon .elementor-icon { transition: transform .4s var(--stx-ease), background .4s; }
.stx-feature:hover .elementor-icon-box-icon .elementor-icon { transform: translateY(-4px); }

/* Vertical dividers between inline features */
.stx-divided > .e-con:not(:last-child), .stx-divided > .e-con-inner > .e-con:not(:last-child),
.stx-divided > .elementor-widget:not(:last-child), .stx-divided > .e-con-inner > .elementor-widget:not(:last-child) { border-right: 1px solid var(--stx-divider, rgba(255,255,255,.18)); }
.stx-divided--dark { --stx-divider: var(--stx-line); }
@media (max-width: 767px) {
	.stx-divided > .e-con:not(:last-child), .stx-divided > .e-con-inner > .e-con:not(:last-child),
	.stx-divided > .elementor-widget:not(:last-child), .stx-divided > .e-con-inner > .elementor-widget:not(:last-child) { border-right: 0; }
}
.stx-grid-lines > .e-con-inner > .e-con:nth-child(odd), .stx-grid-lines > .e-con:nth-child(odd) { border-right: 1px solid var(--stx-line); }
@media (max-width: 767px) { .stx-grid-lines > .e-con-inner > .e-con:nth-child(odd), .stx-grid-lines > .e-con:nth-child(odd) { border-right: 0; } }

/* ---------- Company profile table ---------- */
.stx-table .stx-row { border-bottom: 1px solid rgba(255,255,255,.12); transition: background .3s; }
.stx-table .stx-row:last-child { border-bottom: 0; }
.stx-table .stx-row:hover { background: rgba(255,255,255,.05); }
.stx-table-wrap { border-top: 3px solid var(--stx-gold); }

/* Slanted image (About › Our Commitment) */
.stx-slant { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 10% 62%, 6% 58%); }
@media (max-width: 1024px) { .stx-slant { clip-path: none; } }
.stx-script .elementor-heading-title { font-family: "Great Vibes", "Brush Script MT", cursive !important; }

/* ---------- Contact ---------- */
.stx-map { position: relative; }
.stx-map iframe { display: block; filter: saturate(.9); }
.stx-map-card { position: absolute !important; left: max(20px, calc((100vw - 1200px) / 2)); top: 28px; z-index: 3; }
@media (max-width: 767px) { .stx-map-card.e-con { position: relative !important; left: auto; top: auto; width: auto !important; --width: auto; margin: -60px 16px 0 !important; } }
.stx-hours .stx-hour-row { border-bottom: 1px solid rgba(255,255,255,.1); }

.stx-form .wpcf7 form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.stx-form .wpcf7 form > p, .stx-form .wpcf7 form > div:not(.wpcf7-response-output):not(.screen-reader-response):not(.stx-f) { margin: 0; }
.stx-form .stx-f { margin: 0; }
.stx-form .stx-f--full, .stx-form .wpcf7-response-output, .stx-form .stx-f--submit { grid-column: 1 / -1; }
.stx-form label.stx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stx-form input[type="text"], .stx-form input[type="email"], .stx-form input[type="tel"], .stx-form textarea {
	width: 100%; box-sizing: border-box; padding: 16px 18px; border: 1px solid var(--stx-line); border-radius: 4px; background: #fff;
	font: 400 15px/1.5 var(--stx-sans); color: var(--stx-navy); transition: border-color .25s, box-shadow .25s;
}
.stx-form textarea { height: 150px; resize: vertical; }
.stx-form input::placeholder, .stx-form textarea::placeholder { color: #8391A7; }
.stx-form input:focus, .stx-form textarea:focus { outline: none; border-color: var(--stx-navy); box-shadow: 0 0 0 3px rgba(14,42,85,.12); }
.stx-form .stx-submit {
	display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border: 0; border-radius: 4px; cursor: pointer;
	background: var(--stx-navy); color: #fff; font: 600 15px/1 var(--stx-sans); transition: background .3s, transform .3s var(--stx-ease), box-shadow .3s;
}
.stx-form .stx-submit:hover { background: var(--stx-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(7,27,54,.2); }
.stx-form .wpcf7-spinner { margin: 0 0 0 14px; }
.stx-form .wpcf7-not-valid-tip { font-size: 13px; margin-top: 6px; }
.stx-form .wpcf7-response-output { margin: 4px 0 0 !important; border-radius: 4px; padding: 12px 16px !important; font-size: 14px; }
@media (max-width: 767px) { .stx-form .wpcf7 form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.stx-footer a { transition: color .25s, padding-left .25s var(--stx-ease); }
.stx-footer .stx-links a:hover { color: var(--stx-gold) !important; padding-left: 4px; }
.stx-social .elementor-social-icon { transition: background .3s, transform .3s var(--stx-ease); }
.stx-social .elementor-social-icon:hover { background: var(--stx-gold) !important; transform: translateY(-3px); }
.stx-social .elementor-social-icon:hover i { color: var(--stx-deep) !important; }
.stx-footer-bottom a:hover { color: var(--stx-gold) !important; }
.stx-quote .elementor-heading-title::before { content: "\201C"; display: block; font: 700 40px/0.6 Georgia, serif; color: var(--stx-gold); margin-bottom: 10px; }

/* Back to top */
.stx-top { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--stx-navy); color: #fff; cursor: pointer; opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .35s var(--stx-ease), background .25s; box-shadow: 0 10px 24px rgba(7,27,54,.25); }
.stx-top.is-visible { opacity: 1; transform: none; }
.stx-top:hover { background: var(--stx-gold); color: var(--stx-deep); }
.stx-top svg { width: 18px; height: 18px; }

/* Japanese typography */
html[lang^="ja"] body.elementor-template-canvas { font-feature-settings: "palt"; }
html[lang^="ja"] .elementor-heading-title { font-family: "Noto Serif JP", var(--stx-serif) !important; letter-spacing: .02em; line-break: strict; word-break: normal; overflow-wrap: break-word; }
html[lang^="ja"] body.elementor-kit-9907 { --e-global-typography-stxh1-font-size: 46px; --e-global-typography-stxh1-line-height: 1.3em; --e-global-typography-stxh2-font-size: 34px; --e-global-typography-stxh2-line-height: 1.4em; --e-global-typography-stxh3-font-size: 30px; --e-global-typography-stxh3-line-height: 1.4em; --e-global-typography-stxh4-font-size: 19px; }
@media (max-width: 1024px) { html[lang^="ja"] body.elementor-kit-9907 { --e-global-typography-stxh1-font-size: 38px; --e-global-typography-stxh2-font-size: 29px; --e-global-typography-stxh3-font-size: 26px; } }
@media (max-width: 767px) { html[lang^="ja"] body.elementor-kit-9907 { --e-global-typography-stxh1-font-size: 29px; --e-global-typography-stxh2-font-size: 24px; --e-global-typography-stxh3-font-size: 22px; --e-global-typography-stxh4-font-size: 18px; } }
html[lang^="ja"] .elementor-widget-text-editor { line-height: 1.95; }
html[lang^="ja"] .elementor-widget-text-editor, html[lang^="ja"] .elementor-icon-box-description, html[lang^="ja"] .elementor-button, html[lang^="ja"] .hfe-nav-menu, html[lang^="ja"] .elementor-icon-list-text { font-family: "Noto Sans JP", var(--stx-sans) !important; }
html[lang^="ja"] .stx-eyebrow .elementor-heading-title, html[lang^="ja"] .elementor-icon-box-title, html[lang^="ja"] .elementor-icon-box-title * { font-family: "Noto Sans JP", var(--stx-sans) !important; letter-spacing: .08em; }

/* ---------- Layout helpers ---------- */
body.elementor-template-canvas { margin: 0; overflow-x: clip; }
/* Kit "global button" styles also hit plain <button>s — reset the custom ones */
.stx-search-btn, .stx-dots button, .stx-search-overlay button, .stx-top, .hfe-nav-menu button, .hfe-nav-menu__toggle { box-shadow: none; text-transform: none; letter-spacing: 0; }
.stx-search-btn { background: transparent !important; color: var(--stx-navy) !important; padding: 0 !important; border-radius: 50% !important; }
.stx-search-btn:hover, .stx-search-btn:focus-visible { background: var(--stx-light) !important; color: var(--stx-gold) !important; }
.stx-dots button { padding: 0 !important; min-height: 0 !important; border-radius: 9px !important; background: rgba(255,255,255,.6) !important; }
.stx-dots button[aria-current="true"] { background: var(--stx-gold) !important; }
.stx-search-overlay button { background: none !important; padding: 0 6px !important; }
.stx-top { padding: 0 !important; background: var(--stx-navy) !important; border-radius: 50% !important; display: inline-flex; align-items: center; justify-content: center; }
.stx-top:hover { background: var(--stx-gold) !important; }
.stx-nav .hfe-nav-menu a.hfe-menu-item, .stx-nav .hfe-nav-menu a.hfe-sub-menu-item { background: transparent; border: 0; box-shadow: none; }
.stx-bleed-left { padding-left: max(24px, calc((100vw - 1200px) / 2)) !important; }
@media (max-width: 1024px) { .stx-bleed-left { padding-left: 24px !important; } }
@media (max-width: 767px) { .stx-bleed-left { padding-left: 20px !important; } }
.stx-rule { display: block; width: 46px; height: 2px; margin-top: 8px; background: var(--stx-gold); }
.stx-rule--right { margin-left: auto; margin-top: 16px; width: 70px; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-widget-text-editor p { margin: 0 0 1em; }
.stx-crumbs p { display: inline-flex; align-items: center; gap: 10px; }
.stx-crumbs p::before { content: ""; width: 44px; height: 2px; background: var(--stx-gold); margin-right: 6px; }

/* Header pieces */
body.elementor-template-canvas #masthead, body.elementor-template-canvas .hfe-header { position: sticky; top: 0; z-index: 999; }
.admin-bar.elementor-template-canvas #masthead { top: 32px; }
@media (max-width: 782px) { .admin-bar.elementor-template-canvas #masthead { top: 0; } }
#masthead .stx-topbar { max-height: 60px; overflow: hidden; transition: max-height .35s var(--stx-ease), padding .35s var(--stx-ease); }
#masthead.is-scrolled .stx-topbar { max-height: 0; padding-top: 0 !important; padding-bottom: 0 !important; }
#masthead.is-scrolled { box-shadow: 0 8px 30px rgba(7, 27, 54, .10); }
.stx-topbar .elementor-icon-list-text { color: rgba(255,255,255,.9); }
.stx-header-right.e-con { --width: auto; width: auto !important; flex: 1 1 auto !important; min-width: 0; }
.stx-header .stx-logo { flex: 0 0 auto; }
.stx-topbar > .e-con-inner > .e-con, .stx-topbar > .e-con { --width: auto; width: auto !important; }
.stx-lang--mobile { display: none; }
@media (max-width: 1024px) {
	.stx-header.e-con, .stx-header > .e-con-inner { flex-wrap: nowrap !important; }
	.stx-header-right.e-con { flex-wrap: nowrap !important; gap: 14px !important; }
	.stx-header-right > .elementor-widget, .stx-header-right > .e-con-inner > .elementor-widget { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
	.stx-header-right .stx-search { order: 1; }
	.stx-header-right .stx-lang-wrap { order: 2; }
	.stx-header-right .stx-header-cta { order: 3; }
	.stx-header-right .stx-nav { order: 4; }
}
@media (max-width: 767px) {
	.stx-header-right.e-con { gap: 10px !important; }
	.stx-header .stx-logo img { width: 128px !important; }
	.stx-header-right .stx-search-btn { width: 32px; height: 32px; }
	.stx-lang--mobile .stx-lang { font-size: 12px; gap: 6px; }
	.stx-divided--dark > .elementor-widget, .stx-divided--dark > .e-con-inner > .elementor-widget { border-right: 0 !important; margin-right: 0 !important; padding-right: 0 !important; flex: 1 1 46%; margin-bottom: 14px; }
	.stx-hero-features { display: none !important; }
}
@media (max-width: 767px) { .stx-lang--mobile { display: block; } .stx-header-cta { display: none; } }
.stx-search-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--stx-navy); cursor: pointer; transition: color .25s, background .25s; }
.stx-search-btn:hover, .stx-search-btn:focus-visible { color: var(--stx-gold); background: var(--stx-light); }
.stx-search-overlay { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-start; justify-content: center; padding: 18vh 20px 20px; background: rgba(7,27,54,.92); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.stx-search-overlay.is-open { opacity: 1; visibility: visible; }
.stx-search-overlay form { width: min(720px, 100%); display: flex; border-bottom: 2px solid var(--stx-gold); transform: translateY(20px); transition: transform .4s var(--stx-ease); }
.stx-search-overlay.is-open form { transform: none; }
.stx-search-overlay input { flex: 1; min-width: 0; padding: 16px 4px; border: 0; background: transparent; color: #fff; font: 400 clamp(22px, 4vw, 36px)/1.2 var(--stx-serif); outline: none; }
.stx-search-overlay input::placeholder { color: rgba(255,255,255,.55); }
.stx-search-overlay button[type="submit"] { border: 0; background: none; color: var(--stx-gold); cursor: pointer; padding: 0 6px; }
.stx-search-close { position: absolute; top: 24px; right: 28px; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.stx-search-close:hover { color: var(--stx-gold); }

/* Hero feature row / mini features */
.stx-hero-features > .elementor-widget { padding-right: 34px; margin-right: 34px; }
.stx-hero-features > .elementor-widget:last-child { padding-right: 0; margin-right: 0; }
.stx-mini-feature { padding-right: 22px; margin-right: 22px; }
.stx-mini-feature:last-child { padding-right: 0; margin-right: 0; }
.stx-divided > .elementor-widget:not(:last-child) { border-right-style: solid; border-right-width: 1px; }
.stx-value { padding-right: 18px; margin-right: 18px; }
.stx-why-item { padding-right: 18px; margin-right: 18px; }
@media (max-width: 1024px) { .stx-value:nth-child(2n), .stx-why-item:nth-child(2n) { border-right: 0 !important; } }
.stx-why-item .elementor-icon { border-color: rgba(255,255,255,.75) !important; color: #fff !important; }
.stx-why-item .elementor-icon i, .stx-why-item .elementor-icon svg { color: #fff; fill: #fff; }

/* Definition tables (company profile, office hours) */
.stx-dl { width: 100%; border-collapse: collapse; margin: 0; border: 0 !important; background: transparent !important; }
.stx-dl tr, .stx-dl th, .stx-dl td { background-color: transparent !important; }
.stx-form .wpcf7 form p { margin: 0 !important; }
.stx-form .wpcf7 form br { display: none; }
.stx-form .wpcf7-form-control-wrap { display: block; }
.stx-form .stx-submit { padding: 16px 34px; }
.stx-form input.stx-submit { -webkit-appearance: none; appearance: none; }
.stx-dl th, .stx-dl td { padding: 15px 28px; text-align: left; vertical-align: top; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); background: transparent; color: #fff; }
.stx-dl tr:last-child th, .stx-dl tr:last-child td { border-bottom: 0; }
.stx-dl th { width: 42%; font-weight: 600; padding-left: 15%; }
.stx-dl tr { transition: background .3s; }
.stx-dl tr:hover { background: rgba(255,255,255,.05); }
.stx-dl--hours th, .stx-dl--hours td { padding: 10px 0; border-bottom-color: rgba(255,255,255,.1); }
.stx-dl--hours th { width: 46%; padding-left: 0; font-weight: 500; color: rgba(255,255,255,.85); }
.stx-dl--hours tr:hover { background: none; }
@media (max-width: 767px) {
	.stx-dl th, .stx-dl td { display: block; width: auto; padding: 4px 18px; border: 0; }
	.stx-dl th { padding-top: 14px; color: var(--stx-gold); font-size: 13px; letter-spacing: .04em; }
	.stx-dl td { padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
	.stx-dl--hours th, .stx-dl--hours td { display: table-cell; padding: 9px 0; color: #fff; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
}

/* Card links + icons */
.stx-card .elementor-icon-box-title a { color: inherit; }
.stx-badge-box { transition: transform .35s var(--stx-ease), background .35s; }
.stx-badge-box:hover { transform: translateX(-6px); background: rgba(14,42,85,.96) !important; }
.stx-map-link .elementor-button { padding-left: 40px !important; }

/* ================= Polish: dropdown + motion (v2) ================= */
/* Desktop dropdown: no dead gap between link and panel, close delay, smooth motion, keyboard support */
@media (min-width: 1025px) {
	.stx-nav .hfe-nav-menu > li.menu-item-has-children { position: relative; }
	.stx-nav .hfe-nav-menu > li > .sub-menu {
		margin-top: 0 !important; top: calc(100% + 22px) !important; left: -22px !important;
		opacity: 0 !important; visibility: hidden !important; transform: translateY(12px) !important;
		transition: opacity .28s var(--stx-ease), transform .28s var(--stx-ease), visibility 0s linear .3s !important;
		border-radius: 0 0 6px 6px; overflow: visible;
	}
	.stx-nav .hfe-nav-menu > li > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -26px; height: 26px; }
	.stx-nav .hfe-nav-menu > li:hover > .sub-menu,
	.stx-nav .hfe-nav-menu > li:focus-within > .sub-menu {
		opacity: 1 !important; visibility: visible !important; transform: none !important;
		transition: opacity .28s var(--stx-ease), transform .28s var(--stx-ease), visibility 0s linear 0s !important;
	}
	.stx-nav .hfe-nav-menu > li.menu-item-has-children > a .sub-arrow i,
	.stx-nav .hfe-nav-menu > li.menu-item-has-children > a .sub-arrow svg { transition: transform .3s var(--stx-ease); }
	.stx-nav .hfe-nav-menu > li.menu-item-has-children:hover > a .sub-arrow i,
	.stx-nav .hfe-nav-menu > li.menu-item-has-children:hover > a .sub-arrow svg,
	.stx-nav .hfe-nav-menu > li.menu-item-has-children:focus-within > a .sub-arrow i { transform: rotate(180deg); }
	.stx-nav .sub-menu li { opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
	.stx-nav .hfe-nav-menu > li:hover > .sub-menu li,
	.stx-nav .hfe-nav-menu > li:focus-within > .sub-menu li { opacity: 1; transform: none; }
	.stx-nav .hfe-nav-menu > li:hover > .sub-menu li:nth-child(2) { transition-delay: .04s; }
	.stx-nav .hfe-nav-menu > li:hover > .sub-menu li:nth-child(3) { transition-delay: .08s; }
	.stx-nav .hfe-nav-menu > li:hover > .sub-menu li:nth-child(4) { transition-delay: .12s; }
	.stx-nav .sub-menu a.hfe-sub-menu-item { position: relative; }
	.stx-nav .sub-menu a.hfe-sub-menu-item::before { content: ""; position: absolute; left: 0; top: 50%; width: 3px; height: 0; background: var(--stx-gold); transform: translateY(-50%); transition: height .25s var(--stx-ease); }
	.stx-nav .sub-menu a.hfe-sub-menu-item:hover::before, .stx-nav .sub-menu li.current-menu-item > a::before { height: 60%; }
}
/* Mobile dropdown: smooth open */
@media (max-width: 1024px) {
	.stx-nav nav.hfe-dropdown { transition: max-height .35s var(--stx-ease); }
	.stx-nav .hfe-dropdown a { transition: background .2s, color .2s, padding-left .25s var(--stx-ease); }
	.stx-nav .hfe-dropdown a:hover { padding-left: 26px !important; }
}

/* Scroll-in accents (only when JS is running; content is never hidden) */
.stx-anim .stx-eyebrow .elementor-heading-title::before { transform-origin: left center; transition: transform .9s var(--stx-ease) .15s; }
.stx-anim .stx-eyebrow:not(.is-inview) .elementor-heading-title::before { transform: scaleX(0); }
.stx-anim .stx-eyebrow--center .elementor-heading-title::before { transform-origin: right center; }
.stx-anim .stx-underline .elementor-heading-title::after, .stx-anim .stx-rule { transform-origin: left center; transition: transform .9s var(--stx-ease) .2s; }
.stx-anim .stx-underline:not(.is-inview) .elementor-heading-title::after, .stx-anim .stx-rule:not(.is-inview) { transform: scaleX(0); }
.stx-anim .stx-frame::before { transition: transform 1.1s var(--stx-ease) .1s, opacity 1.1s var(--stx-ease) .1s; }
.stx-anim .stx-frame:not(.is-inview)::before { transform: translate(-18px, 18px); opacity: 0; }
.stx-anim .stx-frame--left:not(.is-inview)::before { transform: translate(18px, 18px); }
.stx-anim .stx-frame--gold::after { transform-origin: left center; transition: transform .8s var(--stx-ease) .5s; }
.stx-anim .stx-frame--gold:not(.is-inview)::after { transform: scaleX(0); }
.stx-anim .stx-table-wrap { transition: border-color .6s; }

/* Buttons: soft light sweep */
.elementor-button { position: relative; overflow: hidden; isolation: isolate; }
.elementor-button::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-18deg); transition: left .7s var(--stx-ease); pointer-events: none; }
.elementor-button:hover::after { left: 120%; }
.stx-link-arrow .elementor-button::after { display: none; }

/* Cards: gold top line + icon swap */
.stx-card { position: relative; overflow: hidden; }
.stx-card::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--stx-gold); transform: scaleX(0); transform-origin: left center; transition: transform .5s var(--stx-ease); z-index: 2; }
.stx-card:hover::before { transform: scaleX(1); }
.stx-card .elementor-icon { transition: transform .45s var(--stx-ease), background-color .35s, color .35s, fill .35s; }
.stx-card:hover .elementor-icon-box-title, .stx-card:hover .elementor-icon-box-title a { color: var(--stx-navy); }
.stx-card .stx-link-arrow .elementor-button-icon { transition: transform .35s var(--stx-ease); }
.stx-card:hover .stx-link-arrow .elementor-button-icon { transform: translateX(6px); }

/* Feature items + values: icon lift and fill on hover */
.stx-feature .elementor-icon, .stx-value .elementor-icon, .stx-mini-feature .elementor-icon { transition: transform .35s var(--stx-ease), background-color .35s, color .35s; }
.stx-feature:hover .elementor-icon, .stx-value:hover .elementor-icon, .stx-mini-feature:hover .elementor-icon { transform: translateY(-4px); background-color: var(--stx-navy) !important; color: #fff !important; fill: #fff !important; }
.stx-feature:hover .elementor-icon svg, .stx-value:hover .elementor-icon svg, .stx-mini-feature:hover .elementor-icon svg { fill: #fff !important; }
.stx-why-item .elementor-icon { transition: background-color .35s, transform .35s var(--stx-ease); }
.stx-why-item:hover .elementor-icon { background-color: rgba(242,181,58,.18) !important; transform: translateY(-3px); }
.stx-hero-feature .elementor-icon { transition: transform .35s var(--stx-ease); }
.stx-hero-feature:hover .elementor-icon { transform: scale(1.12); }

/* Images: gentle hover zoom on every content image */
.stx-frame .elementor-widget-image { overflow: hidden; border-radius: 6px; }
.stx-frame .elementor-widget-image img { transition: transform 1.2s var(--stx-ease), filter .6s; }
.stx-frame:hover .elementor-widget-image img { transform: scale(1.05); }
.stx-note { transition: transform .5s var(--stx-ease), box-shadow .5s; }
.stx-frame:hover .stx-note { transform: translateY(-6px); box-shadow: 0 28px 55px rgba(7,27,54,.18); }

/* Contact info cards + map card + hours */
.stx-map-card { transition: transform .45s var(--stx-ease), box-shadow .45s; }
.stx-map-card:hover { transform: translateY(-4px); }
.stx-dl--hours tr td, .stx-dl--hours tr th { transition: color .25s, padding-left .25s var(--stx-ease); }
.stx-dl--hours tr:hover th { color: var(--stx-gold) !important; padding-left: 6px; }

/* Language switcher + header polish */
.stx-lang a { position: relative; }
.stx-logo img { transition: opacity .3s; }
.stx-logo:hover img { opacity: .85; }
#masthead .stx-header { transition: padding .35s var(--stx-ease), box-shadow .35s; }
@media (min-width: 1025px) { #masthead.is-scrolled .stx-header.e-con { --padding-top: 10px; --padding-bottom: 10px; } }

/* Form fields: lift on focus */
.stx-form input[type="text"], .stx-form input[type="email"], .stx-form textarea { transition: border-color .25s, box-shadow .25s, transform .25s var(--stx-ease); }
.stx-form input:focus, .stx-form textarea:focus { transform: translateY(-1px); }
.stx-form .stx-submit { background-image: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); background-size: 250% 100%; background-position: 120% 0; background-repeat: no-repeat; transition: background-position .8s var(--stx-ease), background-color .3s, transform .3s var(--stx-ease), box-shadow .3s; }
.stx-form .stx-submit:hover { background-position: -20% 0; }

/* Mobile/tablet nav: dropdown list must not take layout width (it pushed the hamburger off-screen) */
@media (max-width: 1024px) {
	.stx-header.e-con { position: relative !important; }
	.stx-header-right.e-con, .stx-header-right .stx-nav, .stx-nav > .elementor-widget-container, .stx-nav .hfe-nav-menu { position: static !important; }
	.stx-header-right .stx-nav.elementor-widget, .stx-nav > .elementor-widget-container, .stx-nav .hfe-nav-menu { width: auto !important; min-width: 0 !important; }
	.stx-nav nav.hfe-dropdown { position: absolute !important; top: 100% !important; left: 0 !important; right: 0 !important; width: 100% !important; max-width: none !important; z-index: 1000; background: #fff; }
	.stx-nav .hfe-nav-menu__toggle { margin: 0 !important; cursor: pointer; display: flex !important; align-items: center; justify-content: center; width: 40px; height: 40px; }
	.stx-nav .hfe-nav-menu__toggle svg { width: 24px; height: 24px; fill: var(--stx-navy); }
	.stx-nav nav.hfe-dropdown { margin-top: 0 !important; box-shadow: 0 18px 30px rgba(7,27,54,.15); }
	.stx-nav nav.hfe-dropdown .sub-arrow { min-width: 48px; min-height: 44px; display: inline-flex !important; align-items: center; justify-content: center; }
	.stx-nav nav.hfe-dropdown .sub-menu a.hfe-sub-menu-item { padding-left: 36px !important; }
}

/* Images: always show the whole photo at its natural proportions (no cropping) on every device */
.stx-frame .elementor-widget-image img,
.elementor-widget-image.stx-zoom img,
.stx-zoom img {
	width: 100% !important; height: auto !important; max-height: none !important;
	aspect-ratio: auto !important; object-fit: contain !important; object-position: center !important;
}
.stx-frame .elementor-widget-image, .elementor-widget-image.stx-zoom { height: auto !important; }

/* Phones: a wide photo can't fill a tall hero without heavy cropping, so the text sits on navy
   and the whole photo shows uncropped underneath it. --stx-ar (photo height at full width) is set by stx.js. */
@media (max-width: 767px) {
	.stx-page-hero.e-con, .stx-slide.e-con {
		--stx-ar: 46vw;
		background-color: #071B36 !important;
		background-size: 100% auto !important;
		background-position: center bottom !important;
		background-repeat: no-repeat !important;
		min-height: 0 !important;
		padding-bottom: calc(var(--stx-ar) + 28px) !important;
		animation: none !important;
	}
	.stx-page-hero.e-con::before, .stx-slide.e-con::before {
		background-image: linear-gradient(180deg, #071B36 0%, #071B36 calc(100% - var(--stx-ar)), rgba(7,27,54,.5) calc(100% - var(--stx-ar) * .9), rgba(7,27,54,0) calc(100% - var(--stx-ar) * .75), rgba(7,27,54,0) 100%) !important;
		opacity: 1 !important;
	}
	.stx-slide.e-con > .e-con-inner { padding-bottom: 8px !important; }
	.stx-hero .stx-dots { bottom: 12px !important; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.elementor-invisible { visibility: visible !important; }
	.stx-reveal.elementor-invisible { clip-path: none; }
}
