/**
 * Contact + testimonials — Wimira contact-us-new section.
 */

.section--contact.section-n {
	background-color: var(--wimira-ink);
	color: #fff;
	overflow: hidden;
	padding-top: 64px;
	padding-bottom: 64px;
}

@media (min-width: 768px) {
	.section--contact.section-n {
		padding-top: 80px;
		padding-bottom: 80px;
	}
}

@media (min-width: 1280px) {
	.section--contact.section-n {
		padding-top: 120px;
		padding-bottom: 120px;
	}
}

/* Wimira pl-big scale for contact */
.section--contact .pl-big {
	padding-left: 16px;
}

@media (min-width: 768px) {
	.section--contact .pl-big {
		padding-left: 64px;
	}
}

@media (min-width: 960px) {
	.section--contact .pl-big {
		padding-left: 80px;
	}
}

@media (min-width: 1280px) {
	.section--contact .pl-big {
		padding-left: 208px;
	}
}

@media (min-width: 1440px) {
	.section--contact .pl-big {
		padding-left: 224px;
	}
}

@media (max-width: 767px) {
	.contact-us-new .section__row {
		padding-left: 0;
		padding-right: 0;
	}

	.contact-us-new .container-n {
		padding-right: 16px;
	}
}

.section--contact .container-n {
	position: relative;
}

.section--contact .skip-the-section {
	opacity: 0;
	position: absolute;
	z-index: -1;
	top: 0;
	left: 16px;
	transition: opacity 0.1s var(--wimira-ease);
}

.section--contact .container-n:focus-within .skip-the-section:focus {
	opacity: 1;
	z-index: 2;
}

.section--contact .section__row {
	display: block;
}

@media (min-width: 768px) {
	.section--contact .section__row {
		padding-right: 64px;
	}
}

@media (min-width: 960px) {
	.section--contact .section__row {
		display: grid;
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
		grid-gap: 16px;
		padding-right: 0;
		align-items: stretch;
	}
}

@media (min-width: 1280px) {
	.section--contact .section__row {
		grid-gap: 80px;
	}
}

@media (min-width: 2560px) {
	.section--contact .section__row {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	}
}

.section--contact .section__title {
	color: #fff;
	margin: 0 0 32px;
	font-size: 24px;
	line-height: 32px;
	font-weight: 300;
}

@media (max-width: 767px) {
	.section--contact .section__title br {
		display: none;
	}
}

@media (min-width: 1280px) {
	.section--contact .section__title {
		font-size: 32px;
		line-height: 40px;
	}
}

@media (min-width: 1440px) {
	.section--contact .section__title {
		margin-bottom: 40px;
	}
}

.section--contact .col-form {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.section--contact .col-testimonial {
	display: none;
}

@media (min-width: 960px) {
	.section--contact .col-testimonial {
		display: flex;
		flex-direction: column;
		background-color: #f8f8f9;
		border-radius: 8px;
		color: var(--wimira-ink);
		margin-top: -72px;
		margin-bottom: -72px;
		overflow: hidden;
		padding: 80px 24px 72px;
		min-width: 0;
	}
}

@media (min-width: 1280px) {
	.section--contact .col-testimonial {
		margin-top: -104px;
		margin-bottom: -104px;
		padding: 120px 40px 104px;
	}
}

@media (min-width: 1920px) {
	.section--contact .col-testimonial {
		margin-top: -144px;
		margin-bottom: -144px;
		padding-top: 168px;
		padding-bottom: 144px;
	}
}

@media (min-width: 2560px) {
	.section--contact .col-testimonial {
		margin-top: -224px;
		margin-bottom: -224px;
		padding-top: 248px;
		padding-bottom: 224px;
	}
}

/* ── Link pattern ── */
.section--contact .link-n {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	position: relative;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
	text-decoration: none;
	color: var(--wimira-ink);
}

.section--contact .link-n::before {
	content: "";
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L9 1M9 1H1M9 1V9' stroke='%231E1D28'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	transition: transform 0.3s;
}

.section--contact .link-n--white {
	color: #fff;
}

.section--contact .link-n--white::before {
	background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 9L9 1M9 1H1M9 1V9' stroke='%23FFFFFF'/%3E%3C/svg%3E");
}

.section--contact .link-n:hover::before,
.section--contact .link-n:focus-visible::before {
	transform: translate(3px, -3px);
}

/* ── Form (Wimira: .form .formrowlist — mobile-first single column) ── */
.contact-us-new .form .formrowlist {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 24px 16px;
}

@media (min-width: 481px) {
	.contact-us-new .form .formrowlist {
		grid-template-columns: 1fr 1fr;
	}
}

.contact-us-new .form .formrow {
	position: relative;
	min-width: 0;
}

.contact-us-new .form .formrow__name { order: 1; }
.contact-us-new .form .formrow__email { order: 2; }
.contact-us-new .form .formrow__phone { order: 3; }
.contact-us-new .form .formrow__country { order: 4; }
.contact-us-new .form .formrow__company { order: 5; grid-column: span 1; }
.contact-us-new .form .formrow__message { order: 6; grid-column: span 1; position: relative; }
.contact-us-new .form .formrow--checkbox { order: 8; grid-column: span 1; margin-top: -24px; }

@media (min-width: 481px) {
	.contact-us-new .form .formrow__company,
	.contact-us-new .form .formrow__message,
	.contact-us-new .form .formrow--checkbox {
		grid-column: span 2;
	}
}

.contact-us-new .form .form__label,
.section--contact .form__label {
	position: absolute;
	left: 16px;
	top: 15px;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	pointer-events: none;
	transition: transform 0.3s, opacity 0.3s, font-size 0.3s;
}

.section--contact .formrow.is-filled .form__label,
.section--contact .formrow.is-focused .form__label {
	font-size: 12px;
	line-height: 16px;
	opacity: 0.4;
	transform: translateY(-7px);
}

.section--contact .form__required {
	margin-left: 2px;
	opacity: 0.7;
}

.section--contact .form__input {
	width: 100%;
	max-width: 100%;
	height: 56px;
	padding: 23px 16px 7px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	line-height: 25px;
	outline: 0;
	transition: border-bottom-color 0.3s;
	-webkit-appearance: none;
	box-sizing: border-box;
}

.section--contact .form__input::placeholder {
	color: #8a8a8a;
}

.section--contact .form__textarea {
	height: 56px;
	min-height: 56px;
	resize: vertical;
}

.section--contact .formrow.is-focused .form__input {
	border-bottom-color: #fff;
}

.section--contact .form__checkbox {
	display: block;
	position: relative;
	min-height: 20px;
	padding-left: 48px;
	cursor: pointer;
}

.section--contact .form__checkbox input {
	position: absolute;
	left: 16px;
	top: 0;
	width: 20px;
	height: 20px;
	margin: 0;
	opacity: 0;
}

.section--contact .form__checkbox-label {
	display: block;
	position: relative;
	color: #fff;
	font-size: 12px;
	line-height: 16px;
	padding-top: 1px;
}

.section--contact .form__checkbox-label::before,
.section--contact .form__checkbox-label::after {
	content: "";
	position: absolute;
	left: -32px;
	top: 0;
	width: 20px;
	height: 20px;
	transition: border-color 0.3s, opacity 0.3s;
}

.section--contact .form__checkbox-label::before {
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-radius: 2px;
}

.section--contact .form__checkbox-label::after {
	left: -25px;
	top: 3px;
	width: 6px;
	height: 11px;
	border: 0;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	opacity: 0;
	transform: rotate(45deg);
}

.section--contact .form__checkbox:hover .form__checkbox-label::before {
	border-color: rgba(255, 255, 255, 0.6);
}

.section--contact .form__checkbox input:checked ~ .form__checkbox-label::after {
	opacity: 1;
}

.section--contact .form__checkbox input:checked ~ .form__checkbox-label::before {
	border-color: rgba(255, 255, 255, 0.8);
}

.contact-us-new .form .form__info,
.section--contact .form__info {
	grid-column: span 1;
	order: 9;
	margin: -8px 0 0;
	color: var(--wimira-border);
	font-size: 12px;
	line-height: 16px;
}

@media (min-width: 481px) {
	.contact-us-new .form .form__info,
	.section--contact .form__info {
		grid-column: span 2;
	}
}

.section--contact .form__info a {
	color: #fff;
	text-decoration: underline;
}

@media (min-width: 1280px) {
	.contact-us-new .form .formrowlist {
		gap: 24px 40px;
	}

	.section--contact .form__checkbox-label {
		font-size: 14px;
		line-height: 24px;
		padding-top: 0;
	}

	.section--contact .form__checkbox-label::after {
		top: 4px;
	}

	.section--contact .form__info {
		font-size: 14px;
		line-height: 24px;
	}
}

@media (min-width: 1440px) {
	.contact-us-new .form .formrowlist {
		gap: 32px 40px;
	}
}

.section--contact .form__footer {
	margin-top: 32px;
}

.section--contact .form__submit {
	border: 0;
	width: auto;
	max-width: 100%;
}

@media (max-width: 767px) {
	.section--contact .form__footer {
		margin-top: 24px;
	}
}

/* ── Testimonials ── */
.section--contact .testimonial-new__title {
	margin-bottom: 24px;
}

@media (min-width: 768px) {
	.section--contact .testimonial-new__title {
		margin-bottom: 32px;
	}
}

@media (min-width: 1440px) {
	.section--contact .testimonial-new__title {
		margin-bottom: 40px;
	}
}

.section--contact .testimonial-new__slider {
	position: relative;
	max-width: 100%;
}

.section--contact .testimonial-new {
	display: none;
}

.section--contact .testimonial-new.is-active {
	display: block;
}

.section--contact .testimonial-new__text {
	color: #373737;
}

.section--contact .testimonial-new__text::before {
	content: url("data:image/svg+xml,%3Csvg width='24' height='16' viewBox='0 0 24 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M23.8664 0C23.4389 1.65442 22.9877 3.43945 22.5128 5.3551C22.0378 7.27075 21.6104 9.14286 21.2304 10.9714C20.8504 12.8 20.5417 14.4762 20.3043 16H13.5362L13.0375 15.2816C13.4649 13.7578 14.0111 12.1252 14.6761 10.3837C15.341 8.59864 16.0772 6.81361 16.8846 5.02857C17.692 3.24354 18.4757 1.56735 19.2356 0H23.8664ZM10.6864 0C10.259 1.65442 9.80778 3.43945 9.33283 5.3551C8.85788 7.27075 8.43042 9.14286 8.05046 10.9714C7.67049 12.8 7.36177 14.4762 7.1243 16H0.427458L0 15.2816C0.427458 13.7578 0.973654 12.1252 1.63859 10.3837C2.30352 8.59864 3.01595 6.81361 3.77588 5.02857C4.5833 3.24354 5.36697 1.56735 6.1269 0H10.6864Z' fill='%231E1D28'/%3E%3C/svg%3E");
	display: block;
	margin-bottom: 24px;
	transform: scale(0.8);
	transform-origin: left center;
}

@media (min-width: 768px) {
	.section--contact .testimonial-new__text::before {
		transform: none;
		margin-bottom: 32px;
	}
}

@media (min-width: 1440px) {
	.section--contact .testimonial-new__text::before {
		margin-bottom: 40px;
	}
}

.section--contact .testimonial-new__position,
.section--contact .testimonial-new__text p {
	margin: 0;
}

.section--contact .testimonial-new__position {
	color: #373737;
}

.section--contact .testimonial-new__author {
	display: flex;
	gap: 16px;
	margin-top: 24px;
}

@media (min-width: 1280px) {
	.section--contact .testimonial-new__author {
		margin-top: 40px;
	}
}

.section--contact .testimonial-new__photo {
	flex: 0 0 80px;
	width: 80px;
	height: 80px;
	border-radius: 8px;
	object-fit: cover;
}

@media (min-width: 1920px) {
	.section--contact .testimonial-new__photo {
		flex-basis: 128px;
		width: 128px;
		height: 128px;
	}
}

.section--contact .testimonial-new__author-name {
	font-weight: 700;
}

.section--contact .testimonial-new__info {
	margin-top: auto;
}

.section--contact .testimonial-new__timeline {
	position: relative;
	height: 1px;
	margin-bottom: 16px;
	overflow: hidden;
	background-color: rgba(84, 87, 94, 0.4);
}

.section--contact .testimonial-new__timeline-line {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background-color: var(--wimira-ink);
	transform: translateX(-100%);
}

.section--contact .testimonial-new__timeline-line.is-animating {
	animation: wimira-testimonial-progress 10s linear forwards;
}

@keyframes wimira-testimonial-progress {
	from { transform: translateX(-100%); }
	to { transform: translateX(0); }
}

.section--contact .testimonial-new__arrows {
	display: flex;
	align-items: center;
	gap: 16px;
}

.section--contact .testimonial-new__arrow {
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	color: var(--wimira-ink);
	height: 40px;
	transition: opacity 0.3s;
}

@media (min-width: 2560px) {
	.section--contact .testimonial-new__arrow {
		height: 56px;
	}
}

.section--contact .testimonial-new__arrow:disabled,
.section--contact .testimonial-new__arrow.is-disabled {
	opacity: 0.24;
	cursor: default;
}

.section--contact .testimonial-new__arrow-circle {
	fill: transparent;
	stroke: currentColor;
	transition: fill 0.3s;
}

.section--contact .testimonial-new__arrow-icon {
	stroke: currentColor;
	transition: stroke 0.3s;
}

.section--contact .testimonial-new__arrow:hover:not(:disabled):not(.is-disabled) .testimonial-new__arrow-circle,
.section--contact .testimonial-new__arrow:focus-visible:not(:disabled):not(.is-disabled) .testimonial-new__arrow-circle {
	fill: var(--wimira-ink);
}

.section--contact .testimonial-new__arrow:hover:not(:disabled):not(.is-disabled) .testimonial-new__arrow-icon,
.section--contact .testimonial-new__arrow:focus-visible:not(:disabled):not(.is-disabled) .testimonial-new__arrow-icon {
	stroke: #fff;
}

@media (prefers-reduced-motion: reduce) {
	.section--contact .testimonial-new__timeline-line.is-animating {
		animation: none;
		transform: translateX(0);
	}
}
