/* ==========================================================================
   Social Proof, Trust & Engagement
   Testimonials · Partners · Awards · Newsletter · Why Choose Us
   ========================================================================== */

/* ----- Shared helpers ----- */

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   1. Testimonials
   ========================================================================== */

.testimonials-section {
	position: relative;
	padding: 80px 0;
	background: var(--bg, #fff);
	overflow: hidden;
}

.testimonials-section .section-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 28px;
}

.testimonials-section .section-title em {
	font-family: "Fraunces", "Times New Roman", serif;
	font-style: italic;
	color: var(--accent);
	font-weight: 500;
}

/* Aggregate rating row */
.aggregate-rating {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin: 0 auto 36px;
	font-size: 1.05rem;
	color: var(--text);
}

.agg-stars {
	display: inline-flex;
	gap: 2px;
	color: var(--accent);
	line-height: 0;
}

.agg-stars .t-star {
	width: 22px;
	height: 22px;
}

.agg-text strong {
	font-weight: 700;
	color: var(--text);
}

.agg-sep {
	color: var(--border);
	margin: 0 4px;
}

/* Carousel container */
.testimonial-carousel {
	position: relative;
	padding: 8px 0 16px;
}

.testimonial-carousel:focus {
	outline: none;
}

.testimonial-carousel:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 8px;
	border-radius: 16px;
}

.testimonial-viewport {
	overflow: hidden;
	margin: 0 -8px;
	padding: 8px 0 16px;
}

.testimonial-track {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
	will-change: transform;
}

.testimonial-card {
	position: relative;
	flex: 0 0 100%;
	box-sizing: border-box;
	padding: 26px 24px 22px;
	margin: 0 8px;
	background: var(--bg, #fff);
	border: 1px solid var(--border);
	border-radius: 14px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px -22px rgba(10, 37, 64, 0.22);
	border-color: rgba(212, 162, 76, 0.4);
}

.t-quote-deco {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 36px;
	height: 36px;
	color: var(--accent);
	opacity: 0.18;
	pointer-events: none;
}

.t-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}

.t-avatar {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--bg-soft);
	background: var(--bg-soft);
	flex-shrink: 0;
}

.t-meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.t-name {
	font-family: "Fraunces", "Times New Roman", serif;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text);
	line-height: 1.2;
}

.t-loc {
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-top: 2px;
}

.t-stars {
	display: inline-flex;
	gap: 2px;
	color: var(--accent);
	margin-bottom: 12px;
	line-height: 0;
}

.t-star {
	width: 16px;
	height: 16px;
}

.t-body {
	margin: 0 0 16px;
	padding: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--text);
}

.t-body p {
	margin: 0;
}

.t-foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	padding-top: 12px;
	border-top: 1px dashed var(--border);
}

.t-trip {
	font-size: 0.82rem;
	color: var(--text-muted);
	font-style: italic;
}

.t-verified {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--success, #2D7D5F);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.t-verified-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--success, #2D7D5F);
	box-shadow: 0 0 0 3px rgba(45, 125, 95, 0.18);
	flex-shrink: 0;
}

/* Carousel arrows */
.t-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: var(--bg, #fff);
	color: var(--primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 8px 24px -10px rgba(10, 37, 64, 0.25);
	z-index: 3;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.t-arrow svg {
	width: 18px;
	height: 18px;
}

.t-arrow:hover {
	transform: translateY(-50%) scale(1.08);
	background: var(--primary);
	color: var(--accent);
	border-color: var(--primary);
}

.t-arrow:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 2px;
}

.t-arrow--prev {
	left: -8px;
}

.t-arrow--next {
	right: -8px;
}

/* Dots pagination */
.t-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
}

.t-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--border);
	border: 0;
	padding: 0;
	cursor: pointer;
	transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.t-dot:hover {
	background: var(--text-muted);
}

.t-dot.is-active {
	background: var(--accent);
	width: 22px;
	border-radius: 4px;
}

.t-dot:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

/* CTA below carousel */
.testimonials-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
	font-size: 0.95rem;
}

.t-link {
	color: var(--primary);
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: color 0.2s ease, gap 0.2s ease;
}

.t-link:hover {
	color: var(--accent);
	gap: 10px;
}

.t-link-sep {
	color: var(--border);
}

/* Tablet: 2 per view */
@media (min-width: 600px) {
	.testimonial-card {
		flex: 0 0 calc(50% - 16px);
	}

	.t-arrow--prev {
		left: 4px;
	}

	.t-arrow--next {
		right: 4px;
	}
}

/* Desktop: 3 per view */
@media (min-width: 900px) {
	.testimonials-section {
		padding: 96px 0;
	}

	.testimonial-card {
		flex: 0 0 calc(33.3333% - 16px);
		padding: 28px 26px 24px;
	}

	.t-arrow--prev {
		left: -20px;
	}

	.t-arrow--next {
		right: -20px;
	}
}

/* Small mobile: move arrows below */
@media (max-width: 599px) {
	.t-arrow {
		position: static;
		transform: none;
		display: inline-flex;
	}

	.testimonial-carousel {
		display: flex;
		flex-direction: column;
	}

	.testimonial-viewport {
		order: 1;
	}

	.t-dots {
		order: 2;
	}

	.t-arrow--prev {
		order: 3;
		align-self: center;
		margin-top: 12px;
	}

	.t-arrow--next {
		order: 4;
		align-self: center;
		margin-top: 12px;
		margin-left: 8px;
	}
}

/* ==========================================================================
   2. Partners Strip
   ========================================================================== */

.partners-section {
	padding: 60px 0;
	background: var(--bg-soft, #F7F4ED);
}

.partners-section .section-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 32px;
}

.section-title--sm {
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
}

.partners-strip {
	margin-bottom: 24px;
}

.partners-strip-label {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--text-muted);
	text-align: center;
	margin: 0 0 16px;
}

.partners-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 12px;
}

.partner-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--bg, #fff);
	font-weight: 600;
	color: var(--text);
	font-size: 0.92rem;
	white-space: nowrap;
	transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-chip:hover {
	border-color: var(--accent);
	color: var(--primary);
	transform: translateY(-2px);
	box-shadow: 0 10px 22px -16px rgba(10, 37, 64, 0.3);
}

.partner-chip-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	color: var(--accent);
}

.partner-chip-icon svg {
	width: 100%;
	height: 100%;
}

.partner-chip-flag {
	font-size: 1.1rem;
	line-height: 1;
}

.partner-chip--cert {
	background: rgba(45, 125, 95, 0.08);
	border-color: rgba(45, 125, 95, 0.25);
	color: var(--success, #2D7D5F);
}

.partner-chip--cert .partner-chip-icon {
	color: var(--success, #2D7D5F);
}

.partner-chip--cert:hover {
	background: rgba(45, 125, 95, 0.14);
	border-color: var(--success, #2D7D5F);
	color: var(--success, #2D7D5F);
}

.partners-divider {
	max-width: 240px;
	height: 1px;
	margin: 0 auto 24px;
	background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Mobile: horizontal scroll with snap */
@media (max-width: 720px) {
	.partners-chips--scroll {
		flex-wrap: nowrap;
		overflow-x: auto;
		justify-content: flex-start;
		padding: 4px 16px;
		margin: 0 -16px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.partners-chips--scroll::-webkit-scrollbar {
		display: none;
	}

	.partners-chips--scroll > .partner-chip {
		scroll-snap-align: start;
		flex-shrink: 0;
	}
}

/* ==========================================================================
   3. Awards Strip
   ========================================================================== */

.awards-section {
	padding: 60px 0;
	background: var(--bg-soft, #F7F4ED);
}

.awards-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 8px;
}

.award-item {
	position: relative;
	text-align: center;
	padding: 24px 16px;
}

.award-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 auto 10px;
	color: var(--accent);
}

.award-icon svg {
	width: 100%;
	height: 100%;
}

.award-number {
	font-family: "Fraunces", "Times New Roman", serif;
	color: var(--accent);
	font-weight: 700;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1;
	margin-bottom: 8px;
	display: inline-flex;
	align-items: baseline;
}

.award-suffix {
	font-family: "Fraunces", "Times New Roman", serif;
	font-weight: 600;
}

.award-label {
	color: var(--text-muted);
	font-weight: 500;
	font-size: 0.95rem;
}

/* Vertical divider on desktop */
@media (min-width: 720px) {
	.awards-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.award-item.has-divider::after {
		content: "";
		position: absolute;
		top: 20%;
		right: 0;
		width: 1px;
		height: 60%;
		background: var(--border);
	}
}

/* ==========================================================================
   4. Newsletter
   ========================================================================== */

.newsletter-section {
	position: relative;
	padding: 90px 0;
	background: var(--primary, #0A2540);
	color: #fff;
	overflow: hidden;
}

.newsletter-pattern {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		radial-gradient(circle at 1px 1px, rgba(212, 162, 76, 0.16) 1px, transparent 1.5px);
	background-size: 26px 26px;
	opacity: 0.6;
}

.newsletter-section .container {
	position: relative;
	z-index: 1;
}

.newsletter-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: center;
}

@media (min-width: 900px) {
	.newsletter-grid {
		grid-template-columns: 1.2fr 1fr;
		gap: 48px;
	}
}

.newsletter-eyebrow {
	color: var(--accent);
	background: rgba(212, 162, 76, 0.12);
	border-color: rgba(212, 162, 76, 0.4);
}

.section-title--light {
	color: #fff;
}

.section-title--light em {
	font-family: "Fraunces", "Times New Roman", serif;
	font-style: italic;
	color: var(--accent);
	font-weight: 500;
}

.newsletter-copy {
	margin: 16px 0 18px;
	font-size: 1.05rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	max-width: 480px;
}

.newsletter-trust {
	font-style: italic;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
}

.newsletter-card {
	background: var(--bg-soft, #F7F4ED);
	color: var(--text);
	padding: 32px;
	border-radius: 16px;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.45);
}

.newsletter-form {
	display: flex;
	flex-direction: column;
}

.newsletter-label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text);
	margin-bottom: 6px;
	margin-top: 12px;
}

.newsletter-label:first-of-type {
	margin-top: 0;
}

.newsletter-input {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--bg, #fff);
	font: inherit;
	color: var(--text);
	font-size: 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.newsletter-input:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(212, 162, 76, 0.22);
}

.newsletter-submit {
	margin-top: 18px;
	width: 100%;
	justify-content: center;
	position: relative;
}

.newsletter-submit[disabled] {
	opacity: 0.7;
	cursor: wait;
}

.newsletter-spinner {
	display: none;
	width: 16px;
	height: 16px;
	margin-left: 10px;
	border: 2px solid currentColor;
	border-top-color: transparent;
	border-radius: 50%;
	animation: iconic-spin 0.8s linear infinite;
}

.newsletter-submit.is-loading .newsletter-spinner {
	display: inline-block;
}

@keyframes iconic-spin {
	to { transform: rotate(360deg); }
}

.newsletter-status {
	margin-top: 14px;
	padding: 0;
	font-size: 0.92rem;
	line-height: 1.45;
	min-height: 0;
}

.newsletter-status.is-success {
	color: var(--success, #2D7D5F);
	padding: 12px 14px;
	background: rgba(45, 125, 95, 0.1);
	border-radius: 8px;
	border-left: 3px solid var(--success, #2D7D5F);
}

.newsletter-status.is-error {
	color: #B3261E;
	padding: 12px 14px;
	background: rgba(179, 38, 30, 0.08);
	border-radius: 8px;
	border-left: 3px solid #B3261E;
}

.newsletter-fine {
	margin: 16px 0 0;
	font-size: 0.78rem;
	color: var(--text-muted);
	text-align: center;
}

/* ==========================================================================
   5. Why Choose Us
   ========================================================================== */

.why-choose-us-section {
	padding: 90px 0;
	background: var(--bg, #fff);
}

.why-choose-us-section .section-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 40px;
}

.why-choose-us-section .section-title em {
	font-family: "Fraunces", "Times New Roman", serif;
	font-style: italic;
	color: var(--accent);
	font-weight: 500;
}

.why-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

@media (min-width: 600px) {
	.why-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.why-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
	}
}

.why-card {
	padding: 28px 24px;
	background: var(--bg, #fff);
	border: 1px solid var(--border);
	border-radius: 14px;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.why-card:hover {
	border-color: rgba(212, 162, 76, 0.4);
	box-shadow: 0 18px 36px -22px rgba(10, 37, 64, 0.22);
}

.why-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--primary, #0A2540);
	color: var(--accent);
	font-size: 1.55rem;
	line-height: 1;
	margin-bottom: 16px;
}

.why-title {
	font-family: "Fraunces", "Times New Roman", serif;
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--text);
	margin: 0 0 8px;
	line-height: 1.3;
}

.why-body {
	margin: 0;
	color: var(--text-muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.testimonial-track {
		transition: none !important;
	}

	.testimonial-card:hover,
	.partner-chip:hover,
	.why-card:hover,
	.t-arrow:hover,
	.t-link:hover {
		transform: none !important;
	}

	.newsletter-spinner {
		animation: none;
	}
}
