/* ==========================================================================
   Synceight – base: tokens, layout, header, footer, buttons, motion
   ========================================================================== */

:root {
	--syn-bg: #dcf5ff;
	--syn-yellow: #febc3d;
	--syn-navy: #1f2732;
	--syn-blue: #0021a2;
	--syn-heading: #1f2732;
	--syn-body: #224c7c;
	--syn-ink: #000;
	--syn-card-text: #212529;
	--syn-white: #fff;
	--syn-light: #f8f9fa;
	--syn-marquee: #f1f3f5;

	--syn-f-body: "Abel", sans-serif;
	--syn-f-display: "Jost", sans-serif;
	--syn-f-title: "Josefin Sans", sans-serif;
	--syn-f-heading: "Sora", sans-serif;

	--syn-container: 1320px;
	--syn-gutter: 15px;
	--syn-space: 120px;
}
@media (max-width: 1399px) { :root { --syn-container: 1140px; } }
@media (max-width: 1199px) { :root { --syn-container: 960px; } }
@media (max-width: 991px)  { :root { --syn-container: 720px; --syn-space: 70px; } }
@media (max-width: 767px)  { :root { --syn-container: 540px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Element defaults use low specificity so Elementor Site Settings (kit) can override them. */
body {
	margin: 0;
	background: var(--syn-bg);
	color: var(--syn-body);
	font-family: var(--syn-f-body);
	font-size: 16px;
	line-height: 1.7;
	letter-spacing: .5px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; font-family: var(--syn-f-display); transition: color .3s; }
h1, h2, h3, h4, h5, h6 { margin: 0; letter-spacing: -.02em; color: var(--syn-heading); font-weight: 700; line-height: 1.2; }
h4, h5, h6 { font-family: var(--syn-f-heading); }
p { margin: 0; }
.elementor-widget-text-editor p { margin: 0 0 1em; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

.syn-container { width: 100%; max-width: var(--syn-container); margin: 0 auto; padding: 0 var(--syn-gutter); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 100001;
	top: 8px; left: 8px; padding: 10px 16px; background: var(--syn-white); color: var(--syn-navy);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
/* Yellow pill with shine sweep (header "Get a Free Quote") */
.syn-btn--shine {
	position: relative; z-index: 1; overflow: hidden;
	display: inline-block;
	padding: 8px 26px;
	font-family: var(--syn-f-display) !important; font-size: 15px; font-weight: 700; line-height: 1.7;
	color: var(--syn-white) !important;
	background: var(--syn-yellow);
	border: 2px solid var(--syn-yellow);
	border-radius: 50px;
	text-align: center;
}
.syn-btn--shine::after,
.elementor-widget.syn-btn-style-shine .elementor-button::after {
	content: ""; position: absolute; top: 0; left: -200%; width: 200%; height: 100%;
	transform: skewX(-20deg);
	background-image: linear-gradient(to right, transparent, rgba(255, 255, 255, .4), transparent);
	z-index: -1;
	pointer-events: none;
}
.syn-btn--shine:hover::after, .syn-btn--shine:focus-visible::after,
.elementor-widget.syn-btn-style-shine .elementor-button:hover::after,
.elementor-widget.syn-btn-style-shine .elementor-button:focus-visible::after { animation: syn-shine 1.2s ease .1s; }
@keyframes syn-shine { to { left: 200%; } }

/* Blue pill (hero "Contact Us") */
.syn-btn--pill {
	display: inline-block;
	padding: 8px 15px;
	font-family: var(--syn-f-display) !important; font-size: 15px; font-weight: 600; line-height: 1;
	color: var(--syn-yellow) !important;
	background: var(--syn-blue);
	border-radius: 20px;
	transition: transform .3s, box-shadow .3s;
}
.syn-btn--pill:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 33, 162, .25); }

/* White box with flip-up label ("Read More") */
.syn-btn--flip {
	position: relative; z-index: 9;
	display: inline-block; overflow: hidden;
	padding: 15px 45px;
	font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
	color: var(--syn-navy) !important;
}
.syn-btn--flip::before, .syn-btn--flip::after { content: ""; position: absolute; inset: 0; transform-origin: top; transition: transform .7s cubic-bezier(.6, 0, .15, 1); }
.syn-btn--flip::before { z-index: 1; background: var(--syn-white); }
.syn-btn--flip::after { z-index: 0; background: var(--syn-yellow); }
.syn-btn__label { position: relative; z-index: 9; display: block; overflow: hidden; height: 20px; line-height: 20px; }
.syn-btn__label > span { position: relative; display: block; transition: transform .7s cubic-bezier(.6, 0, .15, 1); }
.syn-btn__label > span::after { content: attr(data-text); position: absolute; top: 100%; left: 50%; transform: translateX(-50%); white-space: nowrap; color: var(--syn-white); }
.syn-btn--flip:hover::before, .syn-btn--flip:focus-visible::before { transform: scaleY(0); }
.syn-btn--flip:hover .syn-btn__label > span, .syn-btn--flip:focus-visible .syn-btn__label > span { transform: translateY(-100%); }

/* ---- Presets for Elementor's own Button widget (Content → "Synceight style") ---- */
.elementor-widget.syn-btn-style-shine .elementor-button {
	position: relative; z-index: 1; overflow: hidden;
	padding: 8px 26px;
	font-family: var(--syn-f-display); font-size: 15px; font-weight: 700; line-height: 1.7;
	color: var(--syn-white); background: var(--syn-yellow);
	border: 2px solid var(--syn-yellow); border-radius: 50px;
}
.elementor-widget.syn-btn-style-pill .elementor-button {
	padding: 8px 15px;
	font-family: var(--syn-f-display); font-size: 15px; font-weight: 600; line-height: 1;
	color: var(--syn-yellow); background: var(--syn-blue);
	border: 0; border-radius: 20px;
	transition: transform .3s, box-shadow .3s;
}
.elementor-widget.syn-btn-style-pill .elementor-button:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 33, 162, .25); color: var(--syn-yellow); background: var(--syn-blue); }
.elementor-widget.syn-btn-style-flip .elementor-button {
	position: relative; z-index: 1; overflow: hidden;
	padding: 15px 45px; border: 0; border-radius: 0;
	font-family: var(--syn-f-display); font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
	color: var(--syn-navy); background: var(--syn-yellow);
}
.elementor-widget.syn-btn-style-flip .elementor-button::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: var(--syn-white);
	transform-origin: top; transition: transform .7s cubic-bezier(.6, 0, .15, 1);
}
.elementor-widget.syn-btn-style-flip .elementor-button:hover { color: var(--syn-white); background: var(--syn-yellow); }
.elementor-widget.syn-btn-style-flip .elementor-button:hover::before { transform: scaleY(0); }

/* ==========================================================================
   Motion (theme widgets + "Synceight motion" option on any Elementor widget)
   ========================================================================== */
.syn-title-split .syn-word { display: inline-block; white-space: nowrap; }
.syn-title-split .syn-char { display: inline-block; will-change: transform, opacity; }

.syn-wipe {
	opacity: 0;
	clip-path: polygon(0 0, 6% 0, 6% 100%, 0% 100%);
	transition: all 900ms ease;
}
.syn-wipe.is-in {
	opacity: 1;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	transition-delay: 300ms;
}
.syn-wipe { position: relative; overflow: hidden; }

.syn-rise { opacity: 0; transform: translate3d(0, 100px, 0); }
.syn-rise.is-in { opacity: 1; transform: none; transition: transform 1.25s cubic-bezier(.2, .8, .2, 1), opacity 1.25s; }

/* Scroll animations ("Synceight motion" + section widgets' item reveals).
   Elements start hidden only when JS is running (html.syn-js), and a safety
   timer (html.syn-no-motion) reveals everything if the script never starts. */
.syn-js .elementor-element.syn-motion-fade, .syn-js .elementor-element.syn-motion-rise, .syn-js .elementor-element.syn-motion-fade-down, .syn-js .elementor-element.syn-motion-fade-left, .syn-js .elementor-element.syn-motion-fade-right, .syn-js .elementor-element.syn-motion-zoom, .syn-js .elementor-element.syn-motion-blur, .syn-js .elementor-element.syn-motion-wipe, .syn-js .elementor-element.syn-motion-letters, .syn-js .elementor-element.syn-motion-words, .syn-js .elementor-element.syn-motion-stagger { opacity: 0; }
.syn-js .syn-auto-stagger .syn-item { opacity: 0; }
.syn-no-motion .elementor-element[class*="syn-motion-"], .syn-no-motion .syn-title-split .syn-char, .syn-no-motion .syn-auto-stagger .syn-item { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; }
.syn-split-word { display: inline-block; }

/* Never hide content inside the Elementor editor */
.elementor-editor-active .syn-wipe,
.elementor-editor-active .syn-rise,
.elementor-editor-active .elementor-element[class*="syn-motion-"],
.elementor-editor-active .syn-auto-stagger .syn-item { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }

/* "Hide on live site": never shown to visitors, faded + labelled in the editor */
.syn-hide-yes { display: none !important; }
.elementor-editor-active .syn-hide-yes { display: revert !important; opacity: .35; outline: 2px dashed #febc3d; outline-offset: -2px; position: relative; }
.elementor-editor-active .e-con.syn-hide-yes { display: var(--display, flex) !important; }
.elementor-editor-active .syn-hide-yes::after {
	content: "Hidden on live site"; position: absolute; top: 8px; right: 8px; z-index: 1000;
	padding: 4px 10px; border-radius: 20px; background: #febc3d; color: #1f2732;
	font: 600 12px/1.4 "Jost", sans-serif; letter-spacing: .3px; pointer-events: none;
}

/* ==========================================================================
   Preloader
   ========================================================================== */
.syn-loader {
	position: fixed; inset: 0; z-index: 100000;
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
}
.syn-loader svg { position: absolute; top: 0; left: 0; width: 100vw; height: 110vh; fill: var(--syn-white); }
.syn-loader-text {
	position: relative; z-index: 2;
	font-family: var(--syn-f-body); font-size: 20px; font-weight: 200;
	letter-spacing: 15px; text-transform: uppercase; color: var(--syn-navy);
}
.syn-loader-text span { display: inline-block; animation: syn-loading 1s infinite alternate; }
.syn-loader-text span:nth-child(2) { animation-delay: .1s; }
.syn-loader-text span:nth-child(3) { animation-delay: .2s; }
.syn-loader-text span:nth-child(4) { animation-delay: .3s; }
.syn-loader-text span:nth-child(5) { animation-delay: .4s; }
.syn-loader-text span:nth-child(6) { animation-delay: .5s; }
.syn-loader-text span:nth-child(7) { animation-delay: .6s; }
@keyframes syn-loading { from { opacity: 1; } to { opacity: 0; } }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { position: relative; z-index: 99; }
.site-header__bar { border-bottom: 1px solid rgba(255, 255, 255, .1); transition: background-color .2s, box-shadow .2s; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 133px; }
.site-header .site-header__brand { display: inline-block; padding: 16px 0; }
.site-header__brand img { display: block; width: 100px; height: 100px; object-fit: contain; transition: width .3s ease, height .3s ease; }
.site-header__inner { transition: min-height .3s ease; }

.site-header.is-sticky { height: 133px; }
.site-header.is-sticky .site-header__bar {
	position: fixed; top: 0; left: 0; width: 100%;
	background: var(--syn-white);
	box-shadow: 0 0 3px rgba(0, 0, 0, .2);
	animation: syn-header-in .95s ease forwards;
}
.admin-bar .site-header.is-sticky .site-header__bar { top: 32px; }
.site-header.is-sticky .site-header__inner { min-height: 100px; }            /* 133px → 100px (-25%) */
.site-header.is-sticky .site-header__brand { padding: 6px 0; }
.site-header.is-sticky .site-header__brand img { width: 75px; height: 75px; }  /* logo -25% */
.site-header.is-sticky .syn-btn--shine { padding: 6px 22px; font-size: 14px; }
@keyframes syn-header-in { from { margin-top: -150px; } to { margin-top: 0; } }

@media (max-width: 782px) { .admin-bar .site-header.is-sticky .site-header__bar { top: 46px; } }
@media (max-width: 767px) {
	.site-header__inner { min-height: 84px; }
	.site-header.is-sticky .site-header__inner { min-height: 63px; }
	.site-header.is-sticky { height: 84px; }
	.site-header.is-sticky .site-header__brand img { width: 45px; height: 45px; }
	.site-header.is-sticky .syn-btn--shine { padding: 5px 16px; font-size: 12px; }
	.site-header .site-header__brand { padding: 10px 0; }
	.site-header__brand img { width: 60px; height: 60px; }
	.site-header .syn-btn--shine { padding: 7px 18px; font-size: 13px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--syn-navy); color: var(--syn-white); }
.site-footer__main { position: relative; overflow: hidden; padding: 72px 0; }
.site-footer .site-footer__watermark {
	position: absolute; left: 0; top: -20px; width: 100%; margin: 0;
	font-family: var(--syn-f-title); font-size: 345px; font-weight: 700; line-height: .6; letter-spacing: -.02em;
	text-transform: uppercase; text-align: center; white-space: nowrap;
	color: transparent;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 2px rgba(251, 251, 251, .05);
	pointer-events: none;
	animation: syn-left-right 5s ease-in-out infinite;
}
@keyframes syn-left-right { 0%, 100% { transform: translate(0, 0); } 65% { transform: translate(30px, 0); } }
@media (max-width: 1399px) { .site-footer .site-footer__watermark { font-size: 270px; } }
@media (max-width: 1199px) { .site-footer .site-footer__watermark { font-size: 220px; } }
@media (max-width: 991px)  { .site-footer .site-footer__watermark { font-size: 160px; } }
@media (max-width: 767px)  { .site-footer .site-footer__watermark { font-size: 110px; } }
@media (max-width: 479px)  { .site-footer .site-footer__watermark { font-size: 60px; top: 0; } }

.site-footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.site-footer__brand { display: flex; flex-direction: column; align-items: center; width: 300px; max-width: 100%; }
.site-footer__logo img { display: block; width: 150px; height: 150px; object-fit: contain; margin-bottom: 30px; }
.site-footer .site-footer__social-heading {
	margin-bottom: 14px;
	font-family: var(--syn-f-heading); font-size: 19.2px; font-weight: 300; line-height: 1.5; letter-spacing: -.02em;
	color: var(--syn-white); opacity: .8;
}
.site-footer__social { display: flex; gap: 9px; margin: 0; padding: 0; list-style: none; }
.site-footer .site-footer__social a {
	display: flex; align-items: center; justify-content: center;
	width: 56px; height: 56px; border-radius: 50%;
	color: var(--syn-white);
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .08);
	transition: all .3s;
}
.site-footer__social svg { width: 18px; height: 18px; }
.site-footer .site-footer__social a:hover, .site-footer .site-footer__social a:focus-visible { color: var(--syn-yellow); background: var(--syn-white); }

.site-footer__contacts { padding-left: 15%; }
.site-footer .site-footer__heading { margin-bottom: 30.4px; font-family: var(--syn-f-heading); font-size: 24px; color: var(--syn-white); }
.site-footer__contact { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.site-footer__contact:last-child { margin-bottom: 0; }
.site-footer__contact img { width: 47px; height: 47px; }
.site-footer__contact-icon {
	display: flex; align-items: center; justify-content: center; flex-shrink: 0;
	width: 47px; height: 47px; border-radius: 50%; border: 1.5px solid var(--syn-yellow); color: var(--syn-yellow);
}
.site-footer__contact-icon svg { width: 22px; height: 22px; }
.site-footer .site-footer__contact h4 { margin-bottom: 4px; font-size: 20px; color: var(--syn-white); }
.site-footer .site-footer__contact a { color: var(--syn-white); }
.site-footer .site-footer__contact a:hover { color: var(--syn-yellow); }

.site-footer__bottom { padding: 1.5rem 15px; border-top: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.site-footer .site-footer__bottom p { color: var(--syn-white); }

@media (max-width: 1199px) { .site-footer .site-footer__social a { width: 46px; height: 46px; } .site-footer__social svg { width: 15px; height: 15px; } }
@media (max-width: 1024px) { .site-footer__main { padding: 56px 0; } .site-footer__contacts { padding-left: 0; } }
@media (max-width: 767px) {
	.site-footer__grid { grid-template-columns: 1fr; gap: 46px; justify-items: center; text-align: center; }
	.site-footer__contact { text-align: left; }
}

/* ---------- Scroll to top ---------- */
.syn-to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 9999;
	display: flex; align-items: center; justify-content: center;
	width: 40px; height: 40px;
	background: var(--syn-yellow); color: var(--syn-white) !important;
	opacity: 0; visibility: hidden;
	transition: all .4s ease;
}
.syn-to-top.is-visible { opacity: 1; visibility: visible; }
.syn-to-top:hover { background: var(--syn-navy); }
.syn-to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   Regular (non-Elementor) pages & posts
   ========================================================================== */
.syn-entry { padding: 40px 0 var(--syn-space); }
.syn-entry__inner { max-width: 860px; }
.syn-entry__inner--wide { max-width: var(--syn-container); }
.syn-entry .syn-entry__title { font-family: var(--syn-f-title); font-size: 56px; line-height: 1.05; margin-bottom: 30px; }
.syn-entry__meta { margin-bottom: 10px; }
.syn-entry__media { margin-bottom: 30px; }
.syn-entry__content { color: var(--syn-ink); font-size: 18px; }
.syn-entry__content > * + * { margin-top: 1.1em; }
.syn-entry__content h2, .syn-entry__content h3 { margin-top: 1.6em; }
.syn-entry__content a { color: var(--syn-blue); text-decoration: underline; }
.syn-post-list { display: grid; gap: 24px; margin-bottom: 40px; }
.syn-entry .nav-links { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; }
@media (max-width: 767px) { .syn-entry .syn-entry__title { font-size: 36px; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.syn-wipe, .syn-rise, .elementor-element[class*="syn-motion-"], .syn-auto-stagger .syn-item { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
	.syn-loader { display: none; }
}
