/* =========================================================
   Home Elementor Widgets — base styles
   All colors/spacing here are DEFAULTS ONLY.
   Every value is overridable per-widget from the Style tab.
   ========================================================= */

.home-ew-btn {
	display: inline-block;
	text-decoration: none;
	font-weight: 600;
	padding: 14px 28px;
	border-radius: 4px;
	background-color: #e7c9a9;
	color: #111;
	transition: all .25s ease;
	cursor: pointer;
	border: none;
}
.home-ew-btn:hover { opacity: .85; }
.home-ew-btn.is-secondary { background-color: transparent; border: 1px solid currentColor; }

/* ---------- Header / Menu ---------- */
.home-ew-header { width: 100%; }
.home-ew-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1280px; margin: 0 auto; }
.home-ew-header__logo { display: inline-flex; align-items: center; text-decoration: none; }
.home-ew-header__logo-img { display: block; width: auto; }
.home-ew-header__logo-text { font-size: 20px; font-weight: 700; }
.home-ew-header__nav { flex: 1; display: flex; justify-content: center; }
.home-ew-header__menu { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.home-ew-header__menu li { position: relative; }
.home-ew-header__menu a { text-decoration: none; font-size: 15px; transition: color .2s ease; }
.home-ew-header__menu ul.sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 180px; padding: 10px 0; margin: 0; background: #161616; display: none; flex-direction: column; gap: 0; z-index: 20; }
.home-ew-header__menu li:hover > ul.sub-menu { display: flex; }
.home-ew-header__menu ul.sub-menu li { padding: 0 18px; }
.home-ew-header__menu--placeholder li { opacity: .5; font-size: 13px; }
.home-ew-header__right { display: flex; align-items: center; gap: 18px; }
.home-ew-header__cta { display: inline-flex; align-items: center; }
.home-ew-header__toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 30px; height: 24px; background: none; border: none; cursor: pointer; padding: 0; }
.home-ew-header__toggle span { display: block; width: 100%; height: 2px; background: currentColor; border-radius: 2px; }
.home-ew-header.sticky { position: sticky; top: 0; z-index: 999; }

@media (max-width: 900px) {
	.home-ew-header__toggle { display: flex; }
	.home-ew-header__nav { position: absolute; top: 100%; left: 0; right: 0; display: none; background: inherit; }
	.home-ew-header__nav.is-open { display: block; }
	.home-ew-header__menu { flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 20px 20px; }
	.home-ew-header__menu li { width: 100%; padding: 10px 0; }
	.home-ew-header__menu ul.sub-menu { position: static; display: none; background: none; padding-left: 14px; }
	.home-ew-header__menu li:hover > ul.sub-menu { display: none; }
	.home-ew-header__menu li.is-sub-open > ul.sub-menu { display: flex; }
	.home-ew-header { position: relative; }
}

/* ---------- Hero ---------- */
.home-ew-hero { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.home-ew-hero__text { flex: 1 1 320px; }
.home-ew-hero__eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-bottom: 12px; }
.home-ew-hero__title { font-size: 46px; line-height: 1.15; margin: 0 0 20px; }
.home-ew-hero__desc { font-size: 16px; line-height: 1.6; margin-bottom: 28px; max-width: 480px; }
.home-ew-hero__buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.home-ew-hero__image { position: relative; flex: 1 1 320px; }
.home-ew-hero__image img { width: 100%; display: block; }
.home-ew-hero__badge { position: absolute; bottom: -20px; left: -20px; padding: 14px 22px; border-radius: 50px; font-weight: 700; }

@media (max-width: 767px) {
	.home-ew-hero__title { font-size: 32px; }
	.home-ew-hero__badge { left: 10px; bottom: -14px; }
}

/* ---------- Stats ---------- */
.home-ew-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.home-ew-stats__number { font-size: 34px; font-weight: 700; }
.home-ew-stats__label { font-size: 14px; margin-top: 6px; }

/* ---------- Before / After ---------- */
.home-ew-ba__header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.home-ew-ba__eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.home-ew-ba__title { font-size: 32px; margin: 0 0 12px; }
.home-ew-ba__compare { position: relative; width: 100%; height: 460px; overflow: hidden; user-select: none; }
.home-ew-ba__after, .home-ew-ba__before { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.home-ew-ba__before { clip-path: inset( 0 50% 0 0 ); }
.home-ew-ba__after img, .home-ew-ba__before img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-ew-ba__badge { position: absolute; top: 16px; padding: 6px 14px; font-size: 12px; letter-spacing: 1px; border-radius: 30px; z-index: 3; }
.home-ew-ba__badge--before { left: 16px; }
.home-ew-ba__badge--after { right: 16px; }
.home-ew-ba__handle { position: absolute; top: 0; bottom: 0; width: 3px; cursor: ew-resize; z-index: 4; transform: translateX(-50%); }
.home-ew-ba__handle::before { content: ''; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; border-radius: 50%; background: inherit; transform: translate(-50%, -50%); border: 2px solid #fff; }

/* ---------- Services grid ---------- */
.home-ew-services__header { max-width: 640px; margin-bottom: 40px; }
.home-ew-services__eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.home-ew-services__title { font-size: 30px; margin: 0; }
.home-ew-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-ew-services__card { display: block; text-decoration: none; overflow: hidden; }
.home-ew-services__card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.home-ew-services__card-body { padding: 16px 4px; }
.home-ew-services__card-title { margin: 0 0 4px; font-size: 18px; }
.home-ew-services__card-desc { margin: 0; font-size: 14px; }

/* ---------- Features / Why choose us ---------- */
.home-ew-features__header { max-width: 640px; margin-bottom: 40px; }
.home-ew-features__eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.home-ew-features__title { font-size: 32px; margin: 0 0 16px; }
.home-ew-features__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.home-ew-features__icon { display: inline-block; margin-bottom: 12px; }
.home-ew-features__item-title { margin: 0 0 6px; font-size: 18px; }
.home-ew-features__item-desc { margin: 0; font-size: 14px; }

/* ---------- Process ---------- */
.home-ew-process__header { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.home-ew-process__title { font-size: 32px; margin: 8px 0 0; }
.home-ew-process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.home-ew-process__number { font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.home-ew-process__step-title { margin: 0 0 6px; font-size: 18px; }
.home-ew-process__step-desc { margin: 0; font-size: 14px; }

/* ---------- Portfolio ---------- */
.home-ew-portfolio__header { max-width: 640px; margin-bottom: 30px; }
.home-ew-portfolio__title { font-size: 30px; margin: 8px 0; }
.home-ew-portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 220px; gap: 16px; }
.home-ew-portfolio__item { position: relative; display: block; overflow: hidden; }
.home-ew-portfolio__item--tall { grid-row: span 2; }
.home-ew-portfolio__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.home-ew-portfolio__item:hover img { transform: scale(1.05); }
.home-ew-portfolio__item::after { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; }
.home-ew-portfolio__item:hover::after { opacity: 1; }
.home-ew-portfolio__caption { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-weight: 600; opacity: 0; transition: opacity .3s ease; }
.home-ew-portfolio__item:hover .home-ew-portfolio__caption { opacity: 1; }

/* ---------- Pricing ---------- */
.home-ew-pricing__header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.home-ew-pricing__title { font-size: 32px; margin: 8px 0; }
.home-ew-pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px; }
.home-ew-pricing__card { padding: 32px 28px; text-align: center; }
.home-ew-pricing__name { margin: 0 0 8px; font-size: 18px; }
.home-ew-pricing__price { font-size: 30px; font-weight: 700; margin-bottom: 20px; }
.home-ew-pricing__price-suffix { font-size: 13px; font-weight: 400; opacity: .7; }
.home-ew-pricing__features { list-style: none; margin: 0 0 24px; padding: 0; text-align: left; }
.home-ew-pricing__feature { padding: 6px 0; font-size: 14px; }
.home-ew-pricing__feature::before { content: '✓  '; }
.home-ew-pricing__calc { max-width: 640px; margin: 0 auto; padding: 32px; border-radius: 12px; text-align: center; }
.home-ew-pricing__calc-row { display: flex; align-items: center; gap: 16px; margin: 20px 0; }
.home-ew-pricing__calc-range { flex: 1; }
.home-ew-pricing__calc-total { font-size: 30px; font-weight: 700; margin-bottom: 20px; }

/* ---------- Testimonials ---------- */
.home-ew-testi { text-align: center; max-width: 720px; margin: 0 auto; }
.home-ew-testi__title { font-size: 28px; margin-bottom: 30px; }
.home-ew-testi__slide { display: none; }
.home-ew-testi__slide.is-active { display: block; }
.home-ew-testi__stars { font-size: 18px; margin-bottom: 16px; }
.home-ew-testi__quote { font-size: 20px; line-height: 1.5; margin: 0 0 24px; font-style: italic; }
.home-ew-testi__person { display: flex; align-items: center; justify-content: center; gap: 12px; }
.home-ew-testi__avatar { border-radius: 50%; object-fit: cover; }
.home-ew-testi__name { font-weight: 600; text-align: left; }
.home-ew-testi__role { font-size: 13px; text-align: left; }
.home-ew-testi__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.home-ew-testi__dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: #666; cursor: pointer; padding: 0; }
.home-ew-testi__dot.is-active { background: #b08d57; }

/* ---------- Contact Info ---------- */
.home-ew-contact__header { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.home-ew-contact__title { font-size: 30px; margin: 8px 0; }
.home-ew-contact__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.home-ew-contact__item { text-decoration: none; display: block; padding: 20px; }
.home-ew-contact__icon { font-size: 22px; display: inline-block; margin-bottom: 10px; }
.home-ew-contact__label { font-size: 13px; margin-bottom: 4px; }
.home-ew-contact__value { font-size: 16px; font-weight: 600; }

/* ---------- Trial CTA ---------- */
.home-ew-trial { position: relative; min-height: 380px; display: flex; align-items: center; padding: 40px; background-size: cover; background-position: center; }
.home-ew-trial::before { content: ''; position: absolute; inset: 0; }
.home-ew-trial__content { position: relative; z-index: 2; max-width: 480px; }
.home-ew-trial__title { font-size: 34px; margin: 0 0 16px; }
.home-ew-trial__desc { margin: 0 0 24px; }

/* ---------- FAQ ---------- */
.home-ew-faq__header { max-width: 640px; margin-bottom: 30px; }
.home-ew-faq__title { font-size: 30px; margin: 8px 0; }
.home-ew-faq__item { border-bottom: 1px solid rgba(255,255,255,.15); }
.home-ew-faq__question { width: 100%; text-align: left; background: none; border: none; padding: 18px 0; font-size: 16px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.home-ew-faq__toggle { font-size: 20px; transition: transform .25s ease; }
.home-ew-faq__item.is-open .home-ew-faq__toggle { transform: rotate(45deg); }
.home-ew-faq__answer { padding-bottom: 18px; font-size: 14px; line-height: 1.6; }

/* ---------- Blog ---------- */
.home-ew-blog__header { max-width: 640px; margin-bottom: 30px; }
.home-ew-blog__title { font-size: 30px; margin: 8px 0; }
.home-ew-blog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.home-ew-blog__card { text-decoration: none; display: block; }
.home-ew-blog__card img { width: 100%; height: 160px; object-fit: cover; display: block; border-radius: 6px; }
.home-ew-blog__card-body { padding-top: 12px; }
.home-ew-blog__category { text-transform: uppercase; font-size: 11px; letter-spacing: 1px; font-weight: 600; }
.home-ew-blog__card-title { font-size: 15px; margin: 6px 0 0; line-height: 1.4; }
.home-ew-blog__empty { opacity: .6; font-size: 14px; padding: 20px 0; }

/* ---------- Final CTA ---------- */
.home-ew-final-cta { text-align: center; padding: 100px 40px; }
.home-ew-final-cta__title { font-size: 38px; margin: 0 0 16px; }
.home-ew-final-cta__desc { max-width: 560px; margin: 0 auto 30px; }
.home-ew-final-cta__buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.home-ew-footer { padding: 60px 20px 20px; }
.home-ew-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px; }
.home-ew-footer__logo { max-height: 40px; margin-bottom: 14px; }
.home-ew-footer__brand-name { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.home-ew-footer__tagline { font-size: 14px; max-width: 260px; margin: 0 0 16px; }
.home-ew-footer__social { display: flex; gap: 14px; }
.home-ew-footer__social a { text-decoration: none; font-size: 16px; }
.home-ew-footer__col-heading { font-size: 15px; margin: 0 0 14px; }
.home-ew-footer__links { list-style: none; margin: 0; padding: 0; }
.home-ew-footer__links li { margin-bottom: 10px; }
.home-ew-footer__link { text-decoration: none; font-size: 14px; transition: color .2s ease; }
.home-ew-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; font-size: 13px; }

/* ---------- Responsive breakpoints shared across widgets ---------- */
@media (max-width: 1024px) {
	.home-ew-stats,
	.home-ew-services__grid,
	.home-ew-process__grid,
	.home-ew-portfolio__grid,
	.home-ew-contact__grid,
	.home-ew-blog__grid,
	.home-ew-footer__grid { grid-template-columns: repeat(2, 1fr); }
	.home-ew-pricing__grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.home-ew-stats,
	.home-ew-services__grid,
	.home-ew-features__grid,
	.home-ew-process__grid,
	.home-ew-portfolio__grid,
	.home-ew-contact__grid,
	.home-ew-blog__grid,
	.home-ew-footer__grid { grid-template-columns: 1fr; }
	.home-ew-final-cta__title,
	.home-ew-trial__title { font-size: 26px; }
}
