/*
Theme Name: Insurn
Author: ModinaTheme
Author URI: https://themeforest.net/user/modinatheme/
Description: Insurance Company HTML Template
Version: 1.0.0
*/

/*
=================================
|***    Table of contents:   ***|
=================================

1. General styles
2. Typography
3. Helpers
4. Preloader
5. Go up button
6. Header and navigation
7. Hero Section
8. About us
9. Services
10. Fun facts
11. Projects
12. Pricing
13. Testimonial
14. CTA
15. Team
16. Video Banner
17. Shop
18. Marquee
19. Blog
20. Footer

Main Style file-> assets/css/main.css 
*/

.hero-video-wrapper {
	min-height: 680px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.hero-video-wrapper::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.62);
	z-index: 10;
}

.hero-video-wrapper .hero-video {
	object-fit: cover;
	object-position: center;
}

.hero-video-wrapper .hero-content {
	max-width: 1050px;
	margin: 0 auto;
}

.hero-video-wrapper .hero-content h1 {
	max-width: 1000px;
	margin: 0 auto;
	font-size: 64px;
	line-height: 1.12;
}

.hero-video-wrapper .hero-content p {
	max-width: 900px;
	margin: 32px auto 0;
	font-size: 24px;
	line-height: 1.45;
}

@media (max-width: 767px) {
	.hero-video-wrapper {
		min-height: 620px;
	}

	.hero-video-wrapper .hero-content h1 {
		font-size: 42px;
	}

	.hero-video-wrapper .hero-content p {
		font-size: 18px;
	}
}

/* Línea de tiempo Grupo Arvex */
.arvex-timeline-section {
	background: #f5f5f5;
	overflow: hidden;
}

.arvex-timeline-intro {
	max-width: 580px;
	margin: 16px auto 0;
	color: var(--text);
}

.arvex-timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	max-width: 1040px;
	margin: 65px auto 48px;
}

.arvex-timeline-line {
	position: absolute;
	top: 51px;
	left: 16.66%;
	right: 16.66%;
	height: 2px;
	background: #c9d8eb;
}

.arvex-timeline-step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 13px;
	padding: 0 15px;
	border: 0;
	background: transparent;
	color: var(--header);
	font-family: inherit;
	cursor: pointer;
}

.arvex-timeline-step:focus-visible {
	outline: 3px solid rgba(3, 101, 212, .35);
	outline-offset: 6px;
	border-radius: 4px;
}

.arvex-timeline-number {
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .12em;
	color: var(--theme-color);
}

.arvex-timeline-dot {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border: 2px solid #c9d8eb;
	border-radius: 50%;
	background: var(--white);
	font-size: 22px;
	transition: background .25s ease, border-color .25s ease, color .25s ease, transform .25s ease;
}

.arvex-timeline-name {
	font-family: "Unbounded", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.55;
	text-align: center;
	transition: color .25s ease;
}

.arvex-timeline-step:hover .arvex-timeline-dot,
.arvex-timeline-step.active .arvex-timeline-dot {
	border-color: var(--theme-color);
	background: var(--theme-color);
	color: var(--white);
	transform: scale(1.1);
}

.arvex-timeline-step:hover .arvex-timeline-name,
.arvex-timeline-step.active .arvex-timeline-name {
	color: var(--theme-color);
}

.arvex-timeline-detail {
	max-width: 760px;
	margin: 0 auto;
	padding: 33px 42px;
	border-left: 4px solid var(--theme-color);
	background: var(--white);
	box-shadow: 0 12px 35px rgba(15, 53, 100, .08);
}

.arvex-detail-label {
	display: block;
	margin-bottom: 8px;
	color: var(--theme-color);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.arvex-timeline-detail h3 {
	margin-bottom: 12px;
	color: var(--header);
	font-size: 24px;
}

.arvex-timeline-detail p {
	margin: 0;
	color: var(--text);
}

/* Empresas del Grupo Arvex */
.arvex-companies-section {
	background: var(--white);
}

.arvex-companies-intro {
	margin: 15px 0 0;
	color: var(--text);
}

.arvex-companies-layout {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(500px, 1.45fr);
	gap: 45px;
	align-items: center;
	max-width: 1120px;
	margin: 55px auto 0;
}

.arvex-company-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.arvex-company-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1.72 / 1;
	padding: 24px;
	border: 2px solid transparent;
	background: #f6f8fb;
	transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease;
	cursor: pointer;
}

.arvex-company-logo img {
	width: 100%;
	max-width: 170px;
	max-height: 72px;
	object-fit: contain;
}

.arvex-company-logo:hover,
.arvex-company-logo.active {
	border-color: var(--theme-color-2);
	background: var(--white);
	box-shadow: 0 10px 24px rgba(15, 53, 100, .10);
	transform: translateY(-3px);
}

.arvex-company-logo:focus-visible {
	outline: 3px solid rgba(3, 101, 212, .35);
	outline-offset: 3px;
}

.arvex-company-panel {
	display: grid;
	grid-template-columns: minmax(210px, .85fr) minmax(280px, 1.15fr);
	max-width: 1120px;
	margin: 0 auto;
	min-height: 365px;
	position: relative;
	z-index: 1;
	overflow: hidden;
	border-radius: 14px;
	background-color: var(--white);
	box-shadow: 0 14px 38px rgba(15, 53, 100, .16);
}

.arvex-company-image {
	position: relative;
	min-height: 100%;
}

.arvex-company-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 53, 100, .05), rgba(15, 53, 100, .3));
	pointer-events: none;
}

.arvex-company-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.arvex-company-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 42px 38px;
	position: relative;
	z-index: 1;
	background-color: var(--white);
}

.arvex-company-category {
	display: inline-block;
	margin-bottom: 20px;
	padding: 7px 12px;
	background: var(--header);
	color: var(--white);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.arvex-company-panel-logo {
	width: 185px;
	height: 52px;
	margin-bottom: 18px;
	object-fit: contain;
	object-position: left center;
}

.arvex-company-content h3 {
	margin-bottom: 12px;
	color: var(--header);
	font-size: 22px;
}

.arvex-company-content p {
	margin: 0 0 24px;
	color: var(--text);
	line-height: 1.65;
}

.arvex-company-link {
	margin-top: auto;
	padding-bottom: 7px;
	border-bottom: 2px solid var(--header);
	color: var(--header);
	font-weight: 700;
}

.arvex-company-link:hover {
	border-color: var(--theme-color);
	color: var(--theme-color);
}

.arvex-company-link i {
	margin-left: 8px;
}

@media (max-width: 767px) {
	.arvex-timeline {
	grid-template-columns: 1fr;
	gap: 28px;
	margin: 45px 0 38px;
	padding-left: 8px;
	align-items: start;
	}

	.arvex-timeline-line {
	left: 36px;
	right: auto;
	top: 48px;
	bottom: 48px;
	width: 2px;
	height: auto;
	}

	.arvex-timeline-step {
	flex-direction: row;
	justify-content: flex-start;
	gap: 15px;
	padding: 0;
	text-align: left;
	}

	.arvex-timeline-number { order: 1; width: 27px; }
	.arvex-timeline-dot { order: 2; flex: 0 0 58px; }
	.arvex-timeline-name { order: 3; text-align: left; }
	.arvex-timeline-detail { padding: 27px 24px; }
	.arvex-companies-layout { grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
	.arvex-company-panel { grid-template-columns: 1fr; min-height: 0; }
	.arvex-company-image { min-height: 230px; }
	.arvex-company-content { padding: 30px 25px; }
}

@media (min-width: 768px) and (max-width: 991px) {
	.arvex-companies-layout { grid-template-columns: 1fr; max-width: 680px; }
}

@media (max-width: 420px) {
	.arvex-company-list { gap: 11px; }
	.arvex-company-logo { padding: 16px; }
	.arvex-company-logo img { max-height: 55px; }
}





