/* Alpha — WPBakery elements & compatibility */

/* WPBakery rows inside theme container */
.alpha-vc-page .alpha-entry-content > .vc_row:first-child { margin-top: 0; }
.alpha-vc-page .alpha-page { padding-block: 0; }
.vc_row.vc_row-has-fill + .vc_row-full-width + .vc_row.vc_row-has-fill { margin-top: 0; }
.alpha-main--full .vc_row:not([data-vc-full-width]) { max-width: var(--alpha-container); margin-inline: auto; }
.wpb_text_column :last-child { margin-bottom: 0; }

/* News blocks */
.alpha-news-block { margin-bottom: 40px; }
.alpha-news-block .alpha-section-title { gap: 16px; }
.alpha-view-all { font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; margin-inline-start: auto; padding-bottom: 10px; }
.alpha-rtl .alpha-view-all svg { transform: scaleX(-1); }

.alpha-mosaic { display: grid; gap: 12px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; }
.alpha-mosaic-item.is-big { grid-row: span 2; }
.alpha-mosaic-item .alpha-card--overlay { height: 100%; min-height: 0; }
.alpha-mosaic-item:not(.is-big) .alpha-card-title { font-size: 16px; }
.alpha-mosaic-item:not(.is-big) .alpha-card-body { padding: 16px; }
.alpha-mosaic-item.is-big .alpha-card-title { font-size: clamp(22px, 2.4vw, 32px); }
.alpha-mosaic-item:nth-child(n+6) { display: none; }

.alpha-big-list { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; }
.alpha-big-list-main .alpha-card-title { font-size: 22px; }
.alpha-big-list-side { display: flex; flex-direction: column; gap: 18px; }

.alpha-card--small { flex-direction: row; gap: 14px; align-items: center; background: transparent; }
.alpha-card--small .alpha-card-media { width: 110px; flex-shrink: 0; aspect-ratio: 4/3; display: block; }
.alpha-card--small .alpha-card-media img { width: 100%; height: 100%; object-fit: cover; }
.alpha-card--small .alpha-card-body { padding: 0; }
.alpha-card--small .alpha-card-title { font-size: 15px; margin-bottom: 4px; }
.alpha-card--small .alpha-meta { margin: 0; font-size: 12px; }
.alpha-small-list { gap: 18px var(--alpha-gap); }

/* Carousel */
.alpha-carousel { position: relative; }
.alpha-carousel-track {
	--cols: 3; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--alpha-gap)) / var(--cols));
	gap: var(--alpha-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.alpha-carousel-track::-webkit-scrollbar { display: none; }
.alpha-carousel-track > * { scroll-snap-align: start; min-width: 0; }
ul.alpha-carousel-track.products { display: grid !important; margin: 0 !important; }
ul.alpha-carousel-track.products::before, ul.alpha-carousel-track.products::after { display: none !important; }
ul.alpha-carousel-track.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
.alpha-carousel-nav { display: inline-flex; gap: 6px; padding-bottom: 8px; }
.alpha-section-title .alpha-view-all + .alpha-carousel-nav { margin-inline-start: 0; }
.alpha-section-title > .alpha-carousel-nav:first-of-type { margin-inline-start: auto; }
.alpha-carousel-nav button {
	width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--alpha-border); background: #fff; color: var(--alpha-heading);
	font-size: 22px; line-height: 1; display: grid; place-items: center; transition: .2s;
}
.alpha-carousel-nav button:hover { background: var(--alpha-primary); border-color: var(--alpha-primary); color: #fff; }
.alpha-carousel-nav.is-floating { position: absolute; top: 30%; inset-inline: -16px; justify-content: space-between; pointer-events: none; }
.alpha-carousel-nav.is-floating button { pointer-events: auto; box-shadow: var(--alpha-shadow); width: 42px; height: 42px; }
.alpha-rtl .alpha-carousel-prev, .alpha-rtl .alpha-carousel-next { transform: scaleX(-1); }

/* Ticker element */
.alpha-ticker-element .alpha-ticker { border: 1px solid var(--alpha-border); border-radius: var(--alpha-radius); }
.alpha-ticker-element .alpha-container { padding-inline: 10px; max-width: none; }

/* Headings */
.alpha-heading { margin-bottom: 40px; }
.alpha-heading.align-center { text-align: center; }
.alpha-heading.align-end { text-align: end; }
.alpha-heading-sub { display: inline-block; color: var(--alpha-primary); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.alpha-rtl .alpha-heading-sub { letter-spacing: 0; }
.alpha-heading-title { font-size: clamp(28px, 3.5vw, 42px); margin: 0; }
.alpha-heading--modern .alpha-heading-title::after { content: ""; display: block; width: 60px; height: 4px; border-radius: 2px; background: var(--alpha-primary); margin-top: 16px; }
.alpha-heading--modern.align-center .alpha-heading-title::after { margin-inline: auto; }
.alpha-heading--modern.align-end .alpha-heading-title::after { margin-inline-start: auto; }
.alpha-heading--boxed .alpha-heading-title { display: inline-block; background: var(--alpha-secondary); color: #fff; padding: 8px 22px; font-size: 22px; border-radius: var(--alpha-radius); }

/* Hero */
.alpha-hero {
	position: relative; min-height: var(--hero-h, 600px); display: flex; align-items: center; background: var(--alpha-secondary) center / cover no-repeat;
	color: #fff; isolation: isolate; border-radius: var(--alpha-radius); overflow: hidden;
}
.vc_row[data-vc-stretch-content] .alpha-hero, .vc_row-no-padding .alpha-hero { border-radius: 0; }
.alpha-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,6,23,var(--hero-overlay, .55)), rgba(2,6,23,calc(var(--hero-overlay, .55) * .5))); z-index: -1; }
.alpha-rtl .alpha-hero::before { background: linear-gradient(270deg, rgba(2,6,23,var(--hero-overlay, .55)), rgba(2,6,23,calc(var(--hero-overlay, .55) * .5))); }
.alpha-hero-inner { width: 100%; max-width: var(--alpha-container); margin-inline: auto; padding: 60px 40px; }
.alpha-hero.align-start .alpha-hero-inner > * { max-width: 680px; }
.alpha-hero.align-center { text-align: center; }
.alpha-hero.align-center .alpha-hero-inner > * { margin-inline: auto; max-width: 820px; }
.alpha-hero-sub { display: inline-block; background: rgba(255,255,255,.12); backdrop-filter: blur(6px); padding: 6px 16px; border-radius: 30px; font-weight: 600; font-size: 14px; margin-bottom: 18px; }
.alpha-hero-title { color: #fff; font-size: clamp(34px, 5.5vw, 64px); line-height: 1.15; margin-bottom: 18px; }
.alpha-rtl .alpha-hero-title { line-height: 1.35; }
.alpha-hero-text { font-size: 18px; opacity: .92; margin-bottom: 30px; }
.alpha-hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.alpha-hero.align-center .alpha-hero-buttons { justify-content: center; }

/* Icon box */
.alpha-icon-box { height: 100%; transition: .3s; }
.alpha-icon-box.align-center { text-align: center; }
.alpha-icon-box--boxed { background: #fff; border: 1px solid var(--alpha-border); border-radius: calc(var(--alpha-radius) * 1.5); padding: 34px 28px; }
.alpha-icon-box--boxed:hover { transform: translateY(-6px); box-shadow: var(--alpha-shadow); border-color: transparent; }
.alpha-icon-box-icon {
	width: 68px; height: 68px; border-radius: 18px; display: inline-grid; place-items: center; margin-bottom: 20px;
	background: color-mix(in srgb, var(--alpha-primary) 12%, transparent); color: var(--alpha-primary); font-size: 28px; transition: .3s;
}
.alpha-icon-box:hover .alpha-icon-box-icon { background: var(--alpha-primary); color: #fff; }
.alpha-icon-box-icon img { max-width: 40px; max-height: 40px; }
.alpha-emoji { font-size: 32px; line-height: 1; }
.alpha-icon-box-title { font-size: 20px; margin-bottom: 10px; }
.alpha-icon-box-title a { color: inherit; }
.alpha-icon-box-text { color: #64748b; font-size: 15px; }
.alpha-icon-box-text p:last-child { margin: 0; }
.alpha-icon-box--side { display: flex; gap: 20px; align-items: flex-start; }
.alpha-icon-box--side .alpha-icon-box-icon { flex-shrink: 0; margin: 0; }

/* Counter */
.alpha-counter { text-align: center; padding: 20px; }
.alpha-counter-value { font-family: var(--alpha-font-heading); font-size: clamp(36px, 4vw, 54px); font-weight: 800; color: var(--alpha-primary); line-height: 1.1; direction: ltr; }
.alpha-counter-label { font-weight: 600; color: var(--alpha-heading); margin-top: 6px; }

/* Team */
.alpha-team { text-align: center; }
.alpha-team-media { position: relative; border-radius: calc(var(--alpha-radius) * 1.5); overflow: hidden; margin-bottom: 18px; aspect-ratio: 4/5; background: var(--alpha-muted-bg); }
.alpha-team-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.alpha-team:hover .alpha-team-media img { transform: scale(1.06); }
.alpha-team-media .alpha-social { position: absolute; bottom: 16px; inset-inline: 0; justify-content: center; opacity: 0; transform: translateY(10px); transition: .3s; }
.alpha-team:hover .alpha-social { opacity: 1; transform: none; }
.alpha-team-media .alpha-social a { background: #fff; color: var(--alpha-heading); }
.alpha-team-name { font-size: 19px; margin-bottom: 2px; }
.alpha-team-role { color: var(--alpha-primary); font-size: 14px; font-weight: 600; }

/* Testimonial */
.alpha-testimonial { margin: 0; background: #fff; border: 1px solid var(--alpha-border); border-radius: calc(var(--alpha-radius) * 1.5); padding: 32px; height: 100%; display: flex; flex-direction: column; }
.alpha-testimonial blockquote { background: none; border: 0; padding: 0; margin: 14px 0 24px; font-size: 16px; flex: 1; }
.alpha-stars { color: #f59e0b; font-size: 18px; letter-spacing: 2px; }
.alpha-stars span { color: var(--alpha-border); }
.alpha-testimonial figcaption { display: flex; align-items: center; gap: 14px; text-align: start; padding: 0; }
.alpha-testimonial figcaption img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.alpha-testimonial figcaption span { display: flex; flex-direction: column; }
.alpha-testimonial figcaption strong { color: var(--alpha-heading); }
.alpha-testimonial figcaption small { color: #64748b; }

/* Pricing */
.alpha-pricing { position: relative; background: #fff; border: 1px solid var(--alpha-border); border-radius: calc(var(--alpha-radius) * 2); padding: 40px 32px; text-align: center; height: 100%; transition: .3s; }
.alpha-pricing:hover { box-shadow: var(--alpha-shadow); }
.alpha-pricing.is-featured { border: 2px solid var(--alpha-primary); transform: scale(1.03); box-shadow: var(--alpha-shadow); }
.alpha-pricing-badge { position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(-50%); background: var(--alpha-primary); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 30px; }
.alpha-rtl .alpha-pricing-badge { transform: translateX(50%); }
.alpha-pricing-title { font-size: 20px; }
.alpha-pricing-price { font-family: var(--alpha-font-heading); font-size: 52px; font-weight: 800; color: var(--alpha-heading); line-height: 1; margin: 16px 0 24px; direction: ltr; }
.alpha-pricing-price sup { font-size: 22px; vertical-align: super; }
.alpha-pricing-price small { font-size: 15px; font-weight: 500; color: #64748b; }
.alpha-pricing-features { list-style: none; padding: 0; margin: 0 0 24px; text-align: start; }
.alpha-pricing-features li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--alpha-border); }
.alpha-pricing-features li svg { color: #16a34a; }
.alpha-pricing-features li.is-off { opacity: .5; text-decoration: line-through; }
.alpha-pricing-features li.is-off svg { color: #94a3b8; }

/* CTA */
.alpha-cta { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; background: linear-gradient(135deg, var(--alpha-primary), var(--alpha-secondary)); color: #fff; padding: 48px; border-radius: calc(var(--alpha-radius) * 2); }
.alpha-cta h3 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 8px; }
.alpha-cta p { margin: 0; opacity: .9; }
.alpha-cta-text { flex: 1; min-width: 260px; }

@media (max-width: 991px) {
	.alpha-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 320px 200px 200px; }
	.alpha-mosaic-item.is-big { grid-column: span 2; grid-row: auto; }
	.alpha-big-list { grid-template-columns: 1fr; }
	.alpha-carousel-track { --cols: 2 !important; }
}
@media (max-width: 640px) {
	.alpha-mosaic { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
	.alpha-mosaic-item.is-big { grid-column: auto; }
	.alpha-carousel-track { --cols: 1.2 !important; }
	.alpha-cta { padding: 32px 24px; text-align: center; justify-content: center; }
	.alpha-pricing.is-featured { transform: none; }
	.alpha-hero-inner { padding: 50px 24px; }
}
