/* Elementor Agency Widgets */

/* Block width (all widgets) */
.agency-widget-block {
	width: 100%;
	box-sizing: border-box;
}

.agency-widget-block__inner {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	padding-left: 24px;
	padding-right: 24px;
}

.agency-widget-block--full .agency-widget-block__inner {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.agency-widget-block--boxed .agency-widget-block__inner {
	max-width: var(--agency-content-box, 1300px);
}

.agency-block-halign-start .agency-widget-block__inner {
	margin-left: 0;
	margin-right: auto;
}

.agency-block-halign-center .agency-widget-block__inner {
	margin-left: auto;
	margin-right: auto;
}

.agency-block-halign-end .agency-widget-block__inner {
	margin-left: auto;
	margin-right: 0;
}

/* Section Heading — 4 styles */
.elementor-widget-agency-section-heading .agency-widget-block__inner {
	padding-left: 0;
	padding-right: 0;
}

.agency-section-heading {
	margin-bottom: 40px;
	width: 100%;
	max-width: 100%;
}

.agency-section-heading__title {
	font-size: 2rem;
	color: var(--agency-primary);
	margin: 0;
	position: relative;
}
.agency-section-heading__subtitle {
	color: var(--agency-text-light);
	font-size: 1rem;
	margin: 12px 0 0;
	padding: 0;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
	max-width: 100%;
}

/* Style 1 — underline */
.agency-section-heading--style-underline .agency-section-heading__title {
	padding-bottom: 12px;
	display: inline-block;
}
.agency-section-heading--style-underline .agency-section-heading__title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 60px;
	height: 3px;
	background: var(--agency-sh-accent, var(--agency-highlight));
}

/* Style 2 — center */
.agency-section-heading--style-center .agency-section-heading__title-wrap {
	display: inline-block;
}
.agency-section-heading--style-center .agency-section-heading__title {
	padding-bottom: 14px;
	display: inline-block;
}
.agency-section-heading--style-center .agency-section-heading__title-wrap::after {
	content: '';
	display: block;
	width: 60px;
	height: 3px;
	margin: 12px auto 0;
	background: var(--agency-sh-accent, var(--agency-highlight));
}

/* Style 3 — side bar */
.agency-section-heading--style-bar {
	position: relative;
	padding-left: 20px;
}
.agency-section-heading--style-bar::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: var(--agency-sh-accent, var(--agency-highlight));
	border-radius: 2px;
}
.agency-section-heading--style-bar .agency-section-heading__title::after {
	display: none;
}

/* Style 4 — boxed */
.agency-section-heading--style-boxed .agency-section-heading__title {
	display: inline-block;
	padding: 12px 20px;
	border-left: 4px solid var(--agency-sh-accent, var(--agency-highlight));
	background: #f5f6f8;
}
.agency-section-heading--style-boxed .agency-section-heading__title::after {
	display: none;
}

/* Shared slider */
.agency-slider { position: relative; touch-action: pan-y; user-select: none; }
.agency-slider__viewport { position: relative; overflow: hidden; }
.agency-slider__track {
	display: flex;
	transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}
.agency-slider__slide {
	flex: 0 0 100%;
	min-width: 100%;
}
.agency-slider__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 5;
	width: 48px;
	height: 48px;
	border: 2px solid rgba(255,255,255,0.9);
	background: rgba(0,0,0,0.35);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background var(--agency-transition);
}
.agency-slider__arrow:hover { background: var(--agency-accent); border-color: var(--agency-accent); }
.agency-slider__arrow--prev { left: 16px; }
.agency-slider__arrow--next { right: 16px; }
.agency-slider__dots {
	display: flex;
	justify-content: center;
	gap: 10px;
	padding: 16px;
}
.agency-slider__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid var(--agency-primary);
	background: transparent;
	cursor: pointer;
	padding: 0;
}
.agency-slider__dot.is-active { background: var(--agency-accent); border-color: var(--agency-accent); }

/* Hero Slider */
.agency-hero { min-height: 520px; }
.agency-hero .agency-slider__viewport { min-height: 520px; }
.agency-hero__slide {
	position: relative;
	min-height: 520px;
	background-size: cover;
	background-position: center;
}
.agency-hero__overlay {
	position: absolute;
	inset: 0;
}
.agency-hero__content {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 48px 24px;
	color: var(--agency-white);
	z-index: 2;
}
.agency-hero__title { font-size: clamp(1.75rem, 5vw, var(--agency-font-size-h1, 42px)); color: var(--agency-white); margin-bottom: 8px; }
.agency-hero__tagline { font-size: 1.1rem; color: var(--agency-highlight); text-transform: uppercase; margin-bottom: 16px; }
.agency-hero__desc { max-width: 600px; font-size: 1rem; opacity: 0.92; margin-bottom: 24px; text-transform: none; letter-spacing: 0; font-weight: 400; }
.agency-hero .agency-slider__dots {
	position: absolute;
	bottom: 16px;
	left: 0;
	right: 0;
	z-index: 4;
}
.agency-hero .agency-slider__dot { border-color: #fff; }
.agency-hero .agency-slider__dot.is-active { background: #fff; border-color: #fff; }

/* Projects slider — 1 at a time */
.agency-projects-slider { background: var(--agency-gray-100); }
.agency-projects-slider__slide { padding: 0; }
.agency-projects-slider__card {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	max-width: 100%;
	margin: 0 auto;
	min-height: 380px;
}
.agency-projects-slider__media { overflow: hidden; }
.agency-projects-slider__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	min-height: 320px;
}
.agency-projects-slider__body {
	padding: 40px 32px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: var(--agency-white);
}
.agency-projects-slider__title {
	font-size: var(--agency-font-size-h2, 32px);
	margin-bottom: 16px;
}
.agency-projects-slider__text {
	font-size: var(--agency-font-size-base, 16px);
	line-height: var(--agency-line-height, 1.7);
	color: var(--agency-text-light);
	margin-bottom: 24px;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
}
.agency-projects-slider .agency-slider__arrow {
	border-color: var(--agency-primary);
	color: var(--agency-primary);
	background: var(--agency-white);
}
.agency-projects-slider .agency-slider__arrow:hover {
	color: var(--agency-white);
}

/* Projects carousel (grid cards slider) */
.agency-projects-carousel {
	--pg-cols: 3;
	--pg-gap: 24px;
}

.agency-projects-carousel .agency-slider__track {
	gap: var(--pg-gap);
	align-items: stretch;
}

.agency-projects-carousel .agency-slider__slide {
	flex: 0 0 calc((100% - (var(--pg-gap) * (var(--pg-cols) - 1))) / var(--pg-cols));
	max-width: calc((100% - (var(--pg-gap) * (var(--pg-cols) - 1))) / var(--pg-cols));
	min-width: 0;
	height: auto;
}

.agency-projects-carousel .agency-slider__viewport {
	overflow: hidden;
}

.agency-projects-carousel .agency-pgrid__item {
	height: 100%;
}

.agency-projects-carousel .agency-slider__arrow {
	border-color: var(--agency-primary);
	color: var(--agency-primary);
	background: var(--agency-white);
	box-shadow: var(--agency-shadow);
}

.agency-projects-carousel .agency-slider__arrow:hover {
	color: var(--agency-white);
	background: var(--agency-accent);
	border-color: var(--agency-accent);
}

.agency-projects-carousel__dots {
	margin-top: 8px;
}

/* Projects Grid — 4 styles */
.agency-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.agency-pgrid__item {
	display: block;
	text-decoration: none;
	color: inherit;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agency-pgrid__item:hover {
	transform: translateY(-4px);
}

.agency-pgrid__media {
	position: relative;
	overflow: hidden;
	height: 0;
	padding-bottom: 75%;
	background: var(--agency-gray-100);
}

.agency-pgrid__media img,
.agency-pgrid__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.agency-pgrid__placeholder {
	background: linear-gradient(135deg, var(--agency-gray-200), var(--agency-gray-100));
}

.agency-pgrid__item:hover .agency-pgrid__media img {
	transform: scale(1.06);
}

.agency-pgrid__title {
	font-size: 1.05rem;
	margin: 0;
	line-height: 1.35;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 700;
}

.agency-pgrid__excerpt {
	font-size: 14px;
	line-height: 1.55;
	margin: 8px 0 0;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
}

/* Style 1 — overlay */
.agency-pgrid__overlay {
	position: absolute;
	inset: 0;
	background: rgba(26, 39, 68, 0.85);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	text-align: center;
	opacity: 0;
	transition: opacity 0.35s ease;
}

.agency-pgrid__item--overlay:hover .agency-pgrid__overlay {
	opacity: 1;
}

.agency-pgrid__overlay .agency-pgrid__title {
	color: #fff;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.06em;
}

/* Style 2 — card */
.agency-pgrid__item--card {
	background: #fff;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.agency-pgrid__item--card .agency-pgrid__body {
	padding: 20px 18px 22px;
}

/* Style 3 — minimal bar */
.agency-pgrid__title-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 14px 16px;
	background: rgba(26, 39, 68, 0.92);
}

.agency-pgrid__title-bar .agency-pgrid__title {
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* Style 4 — bold caption */
.agency-pgrid__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 48px 20px 20px;
	background: linear-gradient(transparent, rgba(26, 39, 68, 0.95));
}

.agency-pgrid__item--bold .agency-pgrid__caption .agency-pgrid__title {
	color: #fff;
	font-size: 1.25rem;
}

.agency-pgrid__item--bold .agency-pgrid__excerpt {
	color: rgba(255, 255, 255, 0.88);
}

/* Stats Counter */
.agency-stats {
	background: var(--agency-accent);
	padding: 50px 0;
}
.agency-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	text-align: center;
}
.agency-stats__item { color: var(--agency-white); padding: 16px; }
.agency-stats__icon { font-size: 2.5rem; margin-bottom: 12px; opacity: 0.9; }
.agency-stats__number {
	font-family: var(--agency-font-heading);
	font-size: 3rem;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 8px;
}
.agency-stats__label {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	opacity: 0.9;
}

/* Timeline */
.agency-timeline {
	position: relative;
	padding: 80px 0;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
}
.agency-timeline__overlay {
	position: absolute;
	inset: 0;
}

.agency-timeline--parallax {
	background-attachment: fixed;
}
.agency-timeline__inner {
	position: relative;
	z-index: 2;
	color: var(--agency-white);
}
.agency-timeline__heading { font-size: 2rem; color: var(--agency-white); margin-bottom: 40px; }
.agency-timeline__list { position: relative; padding-left: 40px; max-width: 600px; }
.agency-timeline__list::before {
	content: '';
	position: absolute;
	left: 15px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: rgba(255, 255, 255, 0.3);
}
.agency-timeline__item {
	position: relative;
	margin-bottom: 32px;
	padding-left: 24px;
}
.agency-timeline__item::before {
	content: '';
	position: absolute;
	left: -33px;
	top: 8px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--agency-highlight);
	border: 3px solid var(--agency-white);
}
.agency-timeline__year {
	display: inline-block;
	background: var(--agency-white);
	color: var(--agency-primary);
	font-weight: 800;
	padding: 4px 12px;
	font-size: 14px;
	margin-bottom: 8px;
}
.agency-timeline__text { font-size: 15px; opacity: 0.9; line-height: 1.6; }

/* Icon Boxes */
.agency-icon-boxes { padding: 80px 0; }
.agency-icon-boxes__intro { text-align: center; margin-bottom: 48px; }
.agency-icon-boxes__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
}

.agency-icon-box {
	padding: 24px;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.agency-icon-box__icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	margin-bottom: 12px;
	color: var(--agency-ib-icon-color, var(--agency-highlight));
}

.agency-icon-box__icon-wrap i,
.agency-icon-box__icon-wrap svg {
	width: 1em;
	height: 1em;
}

/* Style 1 — accent border */
.agency-icon-boxes--style-accent .agency-icon-box {
	border-left: 3px solid var(--agency-ib-accent, var(--agency-highlight));
	background: transparent;
}

.agency-icon-boxes--style-accent .agency-icon-box__icon-wrap {
	background: transparent;
	font-size: 1.25rem;
}

/* Style 2 — circle */
.agency-icon-boxes--style-circle .agency-icon-box {
	border: none;
	text-align: center;
	background: transparent;
}

.agency-icon-boxes--style-circle .agency-icon-box__icon-wrap {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	margin: 0 auto 16px;
	background: var(--agency-ib-icon-bg, rgba(245, 184, 0, 0.15));
	font-size: 22px;
}

/* Style 3 — card */
.agency-icon-boxes--style-card .agency-icon-box {
	border: none;
	background: #f5f6f8;
	border-radius: 8px;
	padding: 32px 24px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.agency-icon-boxes--style-card .agency-icon-box__icon-wrap {
	font-size: 1.5rem;
	margin-bottom: 16px;
}

.agency-icon-box__title { font-size: 1rem; margin-bottom: 8px; }
.agency-icon-box__desc { font-size: 14px; line-height: 1.6; text-transform: none; letter-spacing: 0; font-weight: 400; }

/* CTA Bar */
.agency-cta-bar {
	padding: 40px 0;
}

.agency-cta-bar--stack-mobile .agency-cta-bar__inner {
	flex-wrap: wrap;
}
.agency-cta-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}
.agency-cta-bar__text {
	color: var(--agency-white);
	font-size: 1.125rem;
	margin: 0;
	flex: 1;
	min-width: 280px;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 400;
}

/* Presentation two columns */
.agency-presentation {
	padding: 80px 0;
	background: var(--agency-white);
}
.agency-presentation__grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 48px;
	align-items: start;
}
.agency-presentation__content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}
.agency-presentation__content p { margin: 0 0 1em; font-size: 15px; line-height: 1.8; }

@media (max-width: 992px) {
	.agency-projects-grid { grid-template-columns: repeat(2, 1fr) !important; }
	.agency-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.agency-icon-boxes__grid { grid-template-columns: repeat(2, 1fr); }
	.agency-presentation__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	.agency-hero,
	.agency-hero .agency-slider__viewport,
	.agency-hero__slide { min-height: 420px; }
	.agency-projects-slider__card { grid-template-columns: 1fr; }
	.agency-projects-slider__media img { min-height: 220px; }
	.agency-projects-slider__body { padding: 24px 20px; }
	.agency-slider__arrow { width: 40px; height: 40px; font-size: 22px; }
}

@media (max-width: 576px) {
	.agency-projects-grid { grid-template-columns: 1fr !important; }
	.agency-stats__grid,
	.agency-presentation__content { grid-template-columns: 1fr; }
	.agency-cta-bar--stack-mobile .agency-cta-bar__inner {
		flex-direction: column;
		text-align: center;
		align-items: center;
	}
	.agency-timeline--parallax { background-attachment: scroll; }
}
