/* 
Theme Name: Simplead
Theme URI: https://simplead.ro
Description: Tema standard simplead.ro
Author: Simplead
Author URI: https://simplead.ro
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* --- MK DECK v2 --- */

/* Ascunde complet cookie revisit button */
.cky-btn-revisit-wrapper {display: none !important;}

/* Echipa */
.team-card {max-width: 250px;width: 100%;}
.team-card-inner {position: relative;width: 100%;aspect-ratio: 4 / 5;background: none;overflow: visible;}
.team-card-inner .elementor-widget-image,
.team-card-inner .elementor-widget-container,
.team-card-inner img {height: 100%;}
.team-card-inner img {display: block;width: 100%;height: 100%;object-fit: cover;border-radius: 18px 18px 6px 6px;box-shadow: 0 22px 50px rgba(28, 28, 28, 0.14);transition: filter .6s cubic-bezier(.16, 1, .3, 1), transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s cubic-bezier(.16, 1, .3, 1);}
.jet-listing-grid__items {justify-content: center;justify-items: center;}

/* ---  General ---  */
.hero-title {font-size: clamp(2.25rem, 4vw, 3.25rem);font-weight: 700;line-height: 1.15;letter-spacing: -0.025em;color: #1a1a1a;margin-bottom: 24px;}
.text-accent {color: #FF6200;}
.h-low-mkdeck {font-size: 0.6em;font-weight: 400;}

/* ---  Corner ---  */
.card-corner {position: absolute;display: flex;flex-direction: column;align-items: center;gap: 4px;color: #9A9590;pointer-events: none;}
.card-corner.top-left {top: 20px;left: 20px;}
.card-corner.bottom-right {bottom: 20px;right: 20px;transform: rotate(180deg);}
.spade-mini {width: 14px;height: 14px;fill: currentColor;}

/* ---  Servicii carti ---  */
.services {padding: 120px 40px;background: #F5F2EB;}
.service-card2-deck > .e-con-inner {perspective: 1000px;overflow: visible;align-items: stretch;}
.service-card2 {position: relative;background: #FAF9F9;border-radius: 16px;padding: 24px;box-shadow: 0 4px 20px rgba(28, 28, 28, 0.05);transform-style: preserve-3d;transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);will-change: transform;
	display: flex;flex-direction: column;height: 100%;cursor: pointer;overflow: hidden;}
.service-card2-deck > .e-con-inner > .service-card2:nth-child(3n+1):hover {transform: translateY(-12px) rotateX(5deg) rotateY(5deg);}
.service-card2-deck > .e-con-inner > .service-card2:nth-child(3n+2):hover {transform: translateY(-12px) rotateX(5deg);}
.service-card2-deck > .e-con-inner > .service-card2:nth-child(3n+3):hover {transform: translateY(-12px) rotateX(5deg) rotateY(-5deg);}
.service-card2:hover {box-shadow: 0 24px 60px rgba(28, 28, 28, 0.12);}
.service-card2:hover h1,
.service-card2:hover h2,
.service-card2:hover h3,
.service-card2:hover h4 {color: #E63900 !important;}
.service-card2 > .elementor-element:nth-child(2) {display: flex;flex-direction: column;flex: 1;}
.service-card2 .elementor-widget-text-editor {flex-grow: 1;}
.service-card2 .elementor-widget-button {margin-top: auto;position: relative;z-index: 5;}
.service-card2 .e-transform,
.service-card2 .elementor-icon-wrapper,
.service-card2 .elementor-icon {pointer-events: none;}
.service-card2 .elementor-button-wrapper {position: static;}
.service-card2 a.elementor-button-link {position: relative;z-index: 6;}
.service-card2 a.elementor-button-link::before {content: "";position: absolute;top: -1200px;right: -1200px;bottom: -120px;left: -1200px;z-index: 1;}
.service-card2 .elementor-button-content-wrapper {position: relative;z-index: 2;}
.service-card2 .elementor-button-text,
.service-card2 .elementor-button-icon {pointer-events: none;}

/* Echipa */
.team-header {text-align: center;}
.team-cards {display: flex;justify-content: center;gap: 32px;flex-wrap: wrap;margin: 0 auto;}
.team-card {width: 250px;max-width: 100%;}
.team-card-inner {position: relative;width: 100%;aspect-ratio: 4/5;background: none;overflow: visible;transform: translateZ(0);will-change: transform, box-shadow;transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s cubic-bezier(.16, 1, .3, 1);}
.team-card:hover .team-card-inner {transform: translateY(-8px) rotate(-2deg);box-shadow: 0 20px 50px rgba(28, 28, 28, .12);}
.team-photo {width: 100%;height: 100%;}
.team-photo img {display: block;width: 100%;height: 100%;object-fit: cover;border-radius: 18px 18px 6px 6px;box-shadow: 0 22px 50px rgba(28, 28, 28, .14);transform: scale(1);transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s cubic-bezier(.16, 1, .3, 1);}
.team-card:hover .team-photo img {transform: scale(1.03);}
.team-card-corner {position: absolute;top: 12px;left: 12px;display: flex;flex-direction: column;align-items: center;gap: 2px;font-family: var(--font-display);font-size: .9rem;font-weight: 600;color: var(--burgundy);background: rgba(250, 249, 246, .9);padding: 8px;border-radius: 8px;}
.team-card-corner .spade-mini {width: 12px;height: 12px;}
.team-info {text-align: center;margin-top: 16px;}
.team-info h3 {font-family: var(--font-display);font-size: 1.1rem;font-weight: 500;margin-bottom: 4px;}
.team-info span {font-size: .8rem;color: var(--warm-gray);}

/* Footer */
.footer-spade-divider {text-align: center;}
.footer-spade-divider svg {width: 32px;height: 32px;color: #E63900;opacity: 0.6;}
.footer-club-divider svg {width: 28px;height: 28px;color: #c9b7a8;display: block;}

/* Despre noi */
.metric-large {display: flex;flex-wrap: wrap;align-items: baseline;gap: 8px;}
.metric-number {font-size: clamp(6rem, 15vw, 12rem);font-weight: 700;line-height: 1;color: #E63900;}
.metric-suffix {font-size: clamp(3rem, 8vw, 6rem);font-weight: 700;color: #E63900;}
.metric-label {width: 100%;font-family: var(--font-mono);font-size: 0.85rem;color: #fff;text-transform: uppercase;letter-spacing: 0.1em;}

/* Badge-uri */
.mkdeck-labels .elementor-icon-list-item {border-radius: 5px;padding: 5px 12px;}
.mkdeck-labels .elementor-icon-list-item:nth-child(1) {background: #EA4335;color: #fff;}
.mkdeck-labels .elementor-icon-list-item:nth-child(2) {background: #1877F2;color: #fff;}

/* Carusel */
.mkdeck-carusel img {filter: grayscale(100%);opacity: 0.6;transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;will-change: transform, filter, opacity;}
.mkdeck-carusel .swiper-slide:hover img {filter: grayscale(0%);opacity: 1;transform: scale(1.05);}
.mkdeck-carusel .swiper-slide {transition: transform 0.4s ease;}
.md-carusel .elementor-image-carousel-wrapper .swiper-wrapper{transition-timing-function: linear !important;}
.md-carusel.elementor-widget-image-carousel .swiper-slide{width:150px !important;flex:0 0 150px !important;margin-right:6px !important;display:flex;align-items:center;justify-content:center;}
.md-carusel.elementor-widget-image-carousel .swiper-slide-inner{display:flex;align-items:center;justify-content:center;width:100%;}
.md-carusel.elementor-widget-image-carousel .swiper-slide img{max-height:100px !important;width:auto !important;height:auto !important;object-fit:contain;}

/* Carusel cu background alb */
.md-caruse-video .swiper-slide{display:flex !important;align-items:center;justify-content:center;}
.md-caruse-video .swiper-slide-inner{background:#ffffff !important;border-radius:10px !important;aspect-ratio:1/1;padding:20px !important;display:flex !important;align-items:center;justify-content:center;box-shadow:0 4px 20px rgba(0,0,0,0.05);}
.md-caruse-video img{max-width:100% !important;max-height:100% !important;object-fit:contain;filter:grayscale(100%);opacity:0.6;transition:0.4s ease;will-change:transform,filter,opacity;}
.md-caruse-video .swiper-slide:hover img{filter:grayscale(0%);opacity:1;transform:scale(1.05);}
.md-caruse-video .elementor-image-carousel-wrapper .swiper-wrapper{transition-timing-function:linear !important;}

@media (max-width: 768px) {
	.service-card2-deck > .e-con-inner {display: flex !important;flex-direction: column !important;gap: 20px;}
	.service-card2 {height: auto !important;min-height: unset !important;overflow: visible !important;}
	.service-card2 .elementor-widget-text-editor {flex-grow: 0 !important;}
	.service-card2 .elementor-widget-button {margin-top: auto !important;}
	.service-card2 a.elementor-button-link::before {content: none !important;}
	.service-card2 a.elementor-button-link {position: relative !important;inset: auto !important;top: auto !important;right: auto !important;bottom: auto !important;left: auto !important;display: inline-flex !important;z-index: 10 !important;}
	.service-card2 .elementor-button-content-wrapper {position: relative !important;left: auto !important;right: auto !important;bottom: auto !important;z-index: auto !important;}	
	.service-card2-deck > .e-con-inner {
		perspective: none !important;
	}

	.service-card2 {
		transform: none !important;
		transition: none !important;
	}

	.service-card2:hover {
		transform: none !important;
		box-shadow: 0 4px 20px rgba(28, 28, 28, 0.05) !important;
	}

	.service-card2-deck > .e-con-inner > .service-card2:nth-child(3n+1):hover,
	.service-card2-deck > .e-con-inner > .service-card2:nth-child(3n+2):hover,
	.service-card2-deck > .e-con-inner > .service-card2:nth-child(3n+3):hover {
		transform: none !important;
	}
	.md-carusel.elementor-widget-image-carousel.md-carusel .swiper-slide{width:25% !important;flex:0 0 25% !important;margin-right:10 !important;}
	.team-card-inner {aspect-ratio: unset !important;height:auto !important;}
	.team-card-inner img{height:auto !important;}
    .team-card{max-width:100%;}
    .jet-listing-grid__item{margin-bottom:40px;}
}

/* --------------------------- MK DECK v2 ---------------------------- */

/* Paragraph */
.elementor-text-editor p:last-child{ margin-bottom:0px;}
.elementor-text-editor p:last-child, .textwidget p:last-child { margin-bottom:0px;}
.elementor-widget-text-editor p:last-child, .elementor-widget-theme-post-content p:last-child {margin-bottom:0px;}
#buton .elementor-button-text {text-align: left;margin-right: auto;}
div#cmplz-document {max-width: 100%;}
html,body{width:100%;overflow-x:hidden;}


/* Full width link to icon box widget */
.elementor-widget-icon-box a:after { content: ""; display: block !IMPORTANT; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 1; }

/* Inaltime price table same height */
.elementor-widget-price-table, .elementor-widget-price-table>div, .elementor-price-table {height: 100%;}
.elementor-price-table {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;}
.elementor-price-table__footer {margin-top: auto;}

/* CTA MK Deck */
p.cta-mkdeck {font-size: 45px;font-weight: 700;margin: 0px 0px 15px 0px;}
p.cta-section {font-size: 45px;font-weight: 700;margin: 0px 0px 15px 0px;line-height: 50px;}
p.cta-mkdeckhome {font-size: 30px;font-weight: 700;margin: 0px 0px 15px 0px;line-height: 40px;}

/* Articol */
.eticheta-articol a.elementor-post-info__terms-list-item {background-color: #f4f4f9;color: #909090;padding: 0.5rem;border-radius: 5px;}

/* Inaltime icon box */
.icons-exemplu .elementor-icon-box-wrapper {height: 300px;}

/* General */
.pll-parent-menu-item img {border-radius: 0;}

@media (max-width: 768px){
	p.cta-mkdeck {margin: 0px 0px 5px 0px !important;line-height: 45px;font-weight: 600;font-size: 28px;}
	p.cta-section {font-size: 30px;font-weight: 800;margin: 0px 0px 15px 0px;line-height: 35px;}
	.icons-home .elementor-icon-box-wrapper {height: unset;}
	.icons-smm .elementor-icon-box-wrapper {height: unset;}
	.icons-fbig .elementor-icon-box-wrapper {height: unset;}
	.cta-mkdecktitle .elementor-cta__title {display: none;} /* elimina titlul pe homepage de la CTA */
}