/*
 * Components
 */

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--border-radius);
	transition: all var(--transition-base);
	cursor: pointer;
	border: 2px solid transparent;
}

.btn--primary {
	background-color: var(--color-dark-gray);
	color: var(--color-white);
}
.btn--primary:hover {
	background-color: var(--color-black);
}

.btn--segment {
	background-color: var(--color-segment);
	color: var(--color-segment-text);
}
.btn--segment:hover {
	opacity: 0.9;
	transform: translateY(-2px);
}

.btn--outline {
	background-color: transparent;
	border-color: var(--color-segment);
	color: var(--color-segment);
}
.btn--outline:hover {
	background-color: var(--color-segment);
	color: var(--color-segment-text);
}

/* Cards */
.card {
	background-color: var(--color-white);
	border-radius: var(--border-radius);
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
	overflow: hidden;
	transition: transform var(--transition-base), box-shadow var(--transition-base);
	border: 1px solid var(--color-light-gray);
}
.card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.card__image {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.card__content {
	padding: 1.5rem;
}

.card__title {
	font-size: var(--font-size-h4);
	margin-bottom: 0.5rem;
}

/* Badges */
.segment-badge {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	font-size: 0.875rem;
	font-weight: 700;
	border-radius: 50px;
	background-color: var(--color-segment);
	color: var(--color-segment-text);
	text-transform: uppercase;
}

/* Forms */
.form-group {
	margin-bottom: 1.5rem;
}
.form-input, .form-textarea {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #ccc;
	border-radius: var(--border-radius);
	font-family: var(--font-primary);
	transition: border-color var(--transition-base);
}
.form-input:focus, .form-textarea:focus {
	outline: none;
	border-color: var(--color-segment);
}
.form-textarea {
	min-height: 120px;
	resize: vertical;
}

/* Hero Section */
.hero-section {
	position: relative;
	min-height: 100vh;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--color-white);
	padding: 2rem;
}
.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(47,50,52,0.85), rgba(47,50,52,0.4));
	z-index: 1;
}
.hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
}
.hero-tagline {
	display: block;
	font-weight: 900;
	font-size: 1.25rem;
	letter-spacing: 2px;
	margin-bottom: 1rem;
	text-transform: uppercase;
	color: var(--color-red);
}
.hero-title {
	font-size: clamp(2.5rem, 5vw, 4.5rem);
	line-height: 1.1;
	margin-bottom: 1.5rem;
	font-weight: 800;
}
.hero-subtitle {
	font-size: 1.25rem;
	margin-bottom: 2.5rem;
	opacity: 0.9;
}
.hero-ctas {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
}

/* ==========================================================================
   Divisiones de Negocio (Inmersive Photography & Glassmorphism)
   ========================================================================== */
.segment-cards-immersive {
	padding: 5.5rem 0 6.5rem;
	background-color: #070A13;
	color: #FFFFFF;
	position: relative;
	overflow: hidden;
	transition: background-color 0.4s ease;
}

.immersive-header {
	margin-bottom: 3.5rem;
	max-width: 850px;
}

.immersive-badge-top {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.9rem;
	background: rgba(219, 82, 17, 0.12);
	border: 1px solid rgba(219, 82, 17, 0.4);
	border-radius: 4px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 1.5px;
	color: #DB5211;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
}

.immersive-badge-icon {
	font-size: 0.65rem;
	line-height: 1;
}

.immersive-title {
	font-size: clamp(2.2rem, 4.5vw, 3.4rem);
	font-weight: 900;
	line-height: 1.15;
	text-transform: uppercase;
	margin-bottom: 1.25rem;
	letter-spacing: -0.5px;
}

.immersive-title__white {
	display: block;
	color: #FFFFFF;
}

.immersive-title__orange {
	display: block;
	color: var(--color-segment-transport, #DB5211);
}

.immersive-desc {
	font-size: 1.05rem;
	line-height: 1.65;
	color: #A0AEC0;
	max-width: 680px;
	margin: 0;
}

.immersive-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.immersive-card {
	--seg-color: var(--color-segment-transport, #DB5211);
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	min-height: 520px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1.75rem;
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
	background-color: #0B0F19;
}

.immersive-card[data-segment="transport"] {
	--seg-color: var(--color-segment-transport, #DB5211);
}

.immersive-card[data-segment="construction"] {
	--seg-color: var(--color-segment-construction, #FECD1A);
}

.immersive-card[data-segment="solar"] {
	--seg-color: var(--color-segment-solar, #75AD1E);
}

.immersive-card[data-segment="electric"] {
	--seg-color: var(--color-segment-electric, #005387);
}

.immersive-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
	border-color: var(--seg-color);
}

.immersive-card__bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
	z-index: 1;
}

.immersive-card:hover .immersive-card__bg {
	transform: scale(1.08);
}

.immersive-card__overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(180deg, rgba(7, 10, 19, 0.3) 0%, rgba(7, 10, 19, 0.6) 45%, rgba(7, 10, 19, 0.95) 90%, #070A13 100%);
	z-index: 2;
	transition: opacity 0.4s ease;
}

.immersive-card:hover .immersive-card__overlay {
	background: linear-gradient(180deg, rgba(7, 10, 19, 0.15) 0%, rgba(7, 10, 19, 0.5) 40%, rgba(7, 10, 19, 0.95) 85%, #070A13 100%);
}

.immersive-card__badge-glass {
	position: relative;
	z-index: 3;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.85rem;
	background: rgba(20, 24, 35, 0.65);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 50px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 1px;
	color: #FFFFFF;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.immersive-card__badge-glass .badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	display: inline-block;
}

.immersive-card__badge-glass .badge-text {
	transition: color 0.3s ease;
}

.immersive-card:hover .immersive-card__badge-glass,
.immersive-card__badge-glass:hover {
	border-color: var(--seg-color);
	color: var(--seg-color);
}

.immersive-card:hover .immersive-card__badge-glass .badge-text,
.immersive-card__badge-glass:hover .badge-text {
	color: var(--seg-color);
}

.immersive-card__content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: auto;
}

.immersive-card__category {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.immersive-card__category svg {
	flex-shrink: 0;
}

.immersive-card__title {
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.3;
	color: #FFFFFF;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.immersive-card__desc {
	font-size: 0.85rem;
	line-height: 1.55;
	color: #CBD5E1;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	opacity: 0.92;
}

.immersive-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: #FFFFFF;
	text-decoration: none;
	padding-top: 0.85rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	transition: color 0.3s ease, gap 0.3s ease, border-color 0.3s ease;
	margin-top: 0.5rem;
}

.immersive-card__btn .btn-arrow {
	transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), stroke 0.3s ease;
	stroke: currentColor;
}

.immersive-card:hover .immersive-card__btn,
.immersive-card__btn:hover {
	color: var(--seg-color);
}

.immersive-card:hover .immersive-card__btn .btn-arrow,
.immersive-card__btn:hover .btn-arrow {
	stroke: var(--seg-color);
	transform: translateX(6px);
}

@media (max-width: 1200px) {
	.immersive-grid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 1.5rem;
	}
	.immersive-card {
		min-height: 480px;
	}
}

@media (max-width: 640px) {
	.segment-cards-immersive {
		padding: 4rem 0;
	}
	.immersive-grid {
		grid-template-columns: 1fr !important;
	}
	.immersive-card {
		min-height: 440px;
		padding: 1.5rem;
	}
	.immersive-title {
		font-size: 2.2rem;
	}
}

/* Corporate Section */
.corporate-section {
	background-color: var(--color-white);
}
.corporate-grid {
	gap: 2rem;
}
.corporate-card {
	padding: 2rem;
	background: var(--color-surface);
	border-radius: var(--border-radius);
	text-align: center;
}
.corporate-card h3 {
	color: var(--color-primary);
	margin-bottom: 1rem;
}

/* Contact Form 7 Styles */
.wpcf7 {
	max-width: 100%;
}
.wpcf7-form-control-wrap {
	display: block;
	margin-bottom: 1.5rem;
}
.wpcf7-text, .wpcf7-textarea, .wpcf7-select {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid #ccc;
	border-radius: var(--border-radius);
	font-family: var(--font-primary);
	background: var(--color-white);
}
.wpcf7-submit {
	background-color: var(--color-dark-gray);
	color: var(--color-white);
	padding: 0.75rem 2rem;
	border: none;
	border-radius: var(--border-radius);
	cursor: pointer;
	font-weight: bold;
	transition: background-color var(--transition-base);
}
.wpcf7-submit:hover {
	background-color: var(--color-primary);
}

/* Map Marker Styles */
.deel-marker-dot {
	width: 20px;
	height: 20px;
	background: var(--color-primary);
	border: 3px solid var(--color-white);
	border-radius: 50%;
	cursor: pointer;
	transition: transform 0.2s, box-shadow 0.2s;
	box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.deel-marker-dot:hover {
	transform: scale(1.4);
}
.deel-map-popup a {
	color: var(--color-primary);
	text-decoration: none;
}
.deel-map-popup a:hover {
	text-decoration: underline;
}
.branch-card.highlighted {
	box-shadow: 0 0 15px rgba(219, 82, 17, 0.4);
	border-color: var(--color-primary);
}

/*
 * Accessibility
 */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/*
 * Header
 */
.site-topbar {
	background-color: var(--color-dark-gray);
	color: var(--color-light-gray);
	font-size: 0.8125rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-topbar__left {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.site-topbar__right {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.site-topbar a, .site-topbar span {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--color-light-gray);
	text-decoration: none;
	font-weight: 500;
	transition: color var(--transition-base);
}
.site-topbar a:hover {
	color: var(--color-white);
}
.site-topbar a svg {
	stroke: var(--color-segment-transport);
}
.site-topbar span.topbar-rif {
	color: var(--color-segment-transport);
	font-weight: 700 !important;
}
.topbar-separator {
	color: rgba(255, 255, 255, 0.2);
}

.site-header {
	background-color: var(--color-white);
	border-bottom: 1px solid var(--color-light-gray);
	position: sticky;
	top: 0;
	z-index: 1000;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
}
.site-header__logo {
	flex-shrink: 0;
}
.site-header__logo .custom-logo {
	max-height: 50px;
	width: auto;
}
.site-nav__toggle {
	background: none;
	border: none;
	padding: 0.5rem;
	cursor: pointer;
	display: block;
	font-size: 1.5rem;
}
.site-nav {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: var(--color-white);
	box-shadow: 0 4px 6px rgba(0,0,0,0.1);
	padding: 1rem;
	border-top: 1px solid var(--color-light-gray);
}
.site-nav.is-open {
	display: block;
}
.site-nav ul {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: flex-start;
	margin: 0;
}
.site-nav a {
	color: var(--color-dark-gray);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	padding: 0.5rem 1rem;
	border-radius: 6px;
	position: relative;
	white-space: nowrap;
}
/* Active state and Hover background */
.site-nav li.current-menu-item > a,
.site-nav a:hover {
	background-color: var(--color-dark-gray);
	color: var(--color-white);
}

/* Colored Dots based on data-segment */
.site-nav a::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 8px;
	background-color: transparent;
	transition: background-color 0.3s ease;
	flex-shrink: 0;
}

/* Specific colors for each segment */
.site-nav a[data-segment="transport"]::before { background-color: var(--color-segment-transport); }
.site-nav a[data-segment="construction"]::before { background-color: var(--color-segment-construction); }
.site-nav a[data-segment="solar"]::before { background-color: var(--color-segment-solar); }
.site-nav a[data-segment="electric"]::before { background-color: var(--color-segment-electric); }

/* On hover/active, maybe make the dot glow or stay the same */
.site-nav li.current-menu-item > a[data-segment="transport"]::before, .site-nav a[data-segment="transport"]:hover::before { box-shadow: 0 0 5px var(--color-segment-transport); }
.site-nav li.current-menu-item > a[data-segment="construction"]::before, .site-nav a[data-segment="construction"]:hover::before { box-shadow: 0 0 5px var(--color-segment-construction); }
.site-nav li.current-menu-item > a[data-segment="solar"]::before, .site-nav a[data-segment="solar"]:hover::before { box-shadow: 0 0 5px var(--color-segment-solar); }
.site-nav li.current-menu-item > a[data-segment="electric"]::before, .site-nav a[data-segment="electric"]:hover::before { box-shadow: 0 0 5px var(--color-segment-electric); }


/*
 * Footer
 */
.site-footer {
	background-color: var(--color-dark-gray);
	color: var(--color-white);
	padding: 4rem 0 2rem;
	position: relative;
	background-size: cover;
	background-position: center;
}
.footer__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(47, 50, 52, 0.95);
	z-index: 1;
}
.site-footer .container {
	position: relative;
	z-index: 2;
}
.footer__logo img {
	max-width: 200px;
	margin-bottom: 1rem;
	filter: brightness(0) invert(1);
}
.footer__title {
	color: var(--color-white);
	margin-bottom: 1.5rem;
	font-size: 1rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
	padding-bottom: 0.75rem;
}
.footer__text {
	color: var(--color-medium-gray);
	font-size: 0.85rem;
	margin-bottom: 1rem;
	line-height: 1.6;
}
.footer__rif {
	font-size: 0.85rem;
	color: var(--color-segment-transport);
}
.footer__contact-items p {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.85rem;
	color: #ccc;
	margin-bottom: 0.75rem;
}
.footer-icon--orange {
	stroke: var(--color-segment-transport);
	flex-shrink: 0;
}
.footer__col--nav ul {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.footer__col--nav a {
	display: inline-flex;
	align-items: center;
	font-size: 0.85rem;
	transition: all 0.3s ease;
}
/* Caret icon before the nav link */
.footer__col--nav a::before {
	content: '>';
	font-weight: 900;
	font-size: 1.1rem;
	margin-right: 0.5rem;
	color: var(--color-medium-gray);
	transition: color 0.3s;
}
/* Base Caret Colors based on data-segment */
.footer__col--nav a[data-segment="transport"]::before { color: var(--color-segment-transport); }
.footer__col--nav a[data-segment="construction"]::before { color: var(--color-segment-construction); }
.footer__col--nav a[data-segment="solar"]::before { color: var(--color-segment-solar); }
.footer__col--nav a[data-segment="electric"]::before { color: var(--color-segment-electric); }
.footer__col--nav a[data-segment="warranty"]::before { color: var(--color-segment-warranty); }

/* Link Hover Colors based on data-segment */
.footer__col--nav a[data-segment="transport"]:hover,
.footer__col--nav a[data-segment="transport"]:hover::before { color: var(--color-segment-transport) !important; }

.footer__col--nav a[data-segment="construction"]:hover,
.footer__col--nav a[data-segment="construction"]:hover::before { color: var(--color-segment-construction) !important; }

.footer__col--nav a[data-segment="solar"]:hover,
.footer__col--nav a[data-segment="solar"]:hover::before { color: var(--color-segment-solar) !important; }

.footer__col--nav a[data-segment="electric"]:hover,
.footer__col--nav a[data-segment="electric"]:hover::before { color: var(--color-segment-electric) !important; }

.footer__col--nav a[data-segment="warranty"]:hover,
.footer__col--nav a[data-segment="warranty"]:hover::before { color: var(--color-segment-warranty) !important; }

.footer__col--nav a:hover::before {
	transform: translateX(3px);
}

.footer__sedes-intro {
	font-size: 0.85rem;
	color: var(--color-medium-gray);
	margin-bottom: 0.5rem;
}
.footer__sedes-inline {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--color-white);
}
.footer__sedes-inline ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0;
}
.footer__sedes-inline li {
	display: inline-flex;
	align-items: center;
}
.footer__sedes-inline li:not(:last-child)::after {
	content: '•';
	margin: 0 0.35rem;
	color: var(--color-medium-gray);
}
.footer__sedes-inline a {
	color: var(--color-white) !important;
}
.footer__sedes-inline a:hover {
	color: var(--color-segment-transport) !important;
}

.footer__social-box {
	margin-top: 1rem;
}
.social-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 4px;
	background: rgba(255,255,255,0.1);
	color: var(--color-white);
	transition: background 0.3s, color 0.3s;
}
.social-icon-btn:hover {
	background: var(--color-segment-transport);
	color: var(--color-white);
}

@media (min-width: 1024px) {
	.site-footer .grid-cols-4 {
		grid-template-columns: 1.5fr 1.2fr 1.3fr 1.8fr;
	}
}
.footer__col--contact a, .footer__contact-items a, .footer__col--branches a, .footer__col--nav a {
	color: #ccc;
	text-decoration: none;
	transition: color 0.3s;
}
.footer__col--contact a:hover, .footer__contact-items a:hover, .footer__col--branches a:hover {
	color: var(--color-segment-transport) !important;
}
.footer__contact p, .footer__col--nav li, .footer__col--branches li {
	margin-bottom: 0.75rem;
}
.footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.1);
	margin-top: 1.5rem;
	padding-top: 1.5rem;
	text-align: center;
	color: #999;
	font-size: 0.875rem;
}

/* ==========================================================================
   Hero Front Page (ACF Driven)
   ========================================================================== */
.hero-front {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 110px 0 50px; /* Aumentado ~1.5cm */
	color: #fff;
	min-height: 75vh; /* Aumentado */
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.hero-front__overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(90deg, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.6) 50%, rgba(10,10,10,0.2) 100%);
	z-index: 1;
}
.hero-front__container {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2rem;
}
.hero-front__content {
	flex: 1 1 500px;
	max-width: 650px;
}
.hero-front__badge-top {
	display: inline-flex;
	align-items: center;
	font-size: 0.8rem;
	letter-spacing: 2px;
	margin-bottom: 1.5rem;
	color: #ddd;
}
.hero-front__dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	background-color: var(--color-segment-transport);
	border-radius: 50%;
	margin-right: 0.5rem;
}
.hero-front__title {
	font-size: 4rem;
	line-height: 1.1;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
}
.hero-front__title-orange {
	color: var(--color-segment-transport);
}
.hero-front__desc {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 2.5rem;
	color: #ccc;
}
.hero-front__actions {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
.hero-front__actions-row1 {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}
.hero-front__actions-row2 {
	display: flex;
}
.hero-front__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1rem;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	background: rgba(255,255,255,0.05);
	border-color: rgba(255,255,255,0.3);
	color: #fff;
	white-space: nowrap;
}
.hero-front__btn:hover {
	background: var(--color-segment-transport);
	border-color: var(--color-segment-transport);
}

/* Featured Card */
.hero-front__featured-wrapper {
	flex: 1 1 400px;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start; /* Añadido para que el margin-top funcione bien */
	margin-top: -80px; /* Movido ~2.5cm hacia arriba */
}
.hero-front__featured-card {
	background: rgba(20, 20, 20, 0.85);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 12px;
	padding: 1.5rem;
	max-width: 400px;
	width: 100%;
}
.feat-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}
.feat-card__title {
	font-size: 0.8rem;
	font-weight: bold;
	color: var(--color-segment-transport);
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.feat-card__badge {
	background: rgba(255,255,255,0.1);
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	font-size: 0.8rem;
}
.feat-card__image-wrap {
	position: relative;
	margin-bottom: 1rem;
	border-radius: 8px;
	overflow: hidden;
}
.feat-card__img {
	width: 100%;
	display: block;
}
.feat-card__delivery {
	position: absolute;
	bottom: 0.5rem;
	right: 0.5rem;
	background: rgba(0,0,0,0.7);
	padding: 0.25rem 0.5rem;
	border-radius: 4px;
	font-size: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
.feat-card__name {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
}
.feat-card__desc {
	font-size: 0.85rem;
	color: #aaa;
	margin-bottom: 1rem;
}
.feat-card__specs {
	display: flex;
	gap: 1rem;
	margin-bottom: 1rem;
	border-top: 1px solid rgba(255,255,255,0.1);
	padding-top: 1rem;
}
.feat-card__spec {
	flex: 1;
}
.spec-label {
	display: block;
	font-size: 0.7rem;
	color: #888;
	margin-bottom: 0.25rem;
}
.spec-value {
	font-weight: bold;
	font-size: 0.9rem;
}
.feat-card__btn {
	width: 100%;
	text-align: center;
	background: var(--color-segment-transport);
	border-color: var(--color-segment-transport);
	color: #fff;
	padding: 0.75rem;
}

/* Features Bar */
.hero-front__features-bar {
	background: #111;
	border-top: 1px solid rgba(255,255,255,0.05);
	padding: 1.5rem 0;
	margin-top: -1px; /* seamless with hero if needed */
}
.hero-front__features-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: space-between;
}
.hero-front__feature-item {
	flex: 1 1 200px;
	text-align: center;
	border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-front__feature-item:last-child {
	border-right: none;
}
.feat-item__title {
	font-size: 2rem;
	font-weight: 900;
	margin-bottom: 0.25rem;
	color: #fff;
}
.feat-item__title.text-orange {
	color: var(--color-segment-transport);
}
.feat-item__subtitle {
	font-size: 0.8rem;
	color: #888;
	letter-spacing: 1px;
}

@media (max-width: 991px) {
	.hero-front__title {
		font-size: 3rem;
	}
	.hero-front__container {
		flex-direction: column;
	}
	.hero-front__featured-wrapper {
		justify-content: flex-start;
		width: 100%;
	}
	.hero-front__feature-item {
		border-right: none;
		border-bottom: 1px solid rgba(255,255,255,0.1);
		padding-bottom: 1.5rem;
	}
	.hero-front__feature-item:last-child {
		border-bottom: none;
		padding-bottom: 0;
	}
}
@media (max-width: 576px) {
	.hero-front__actions-row1 {
		flex-direction: column;
	}
	.hero-front__title {
		font-size: 2.5rem;
	}
}

/* ==========================================================================
   Marcas Representadas (Infinite Logo Marquee)
   ========================================================================== */
.brands-section {
	padding: 4.5rem 0 3.5rem;
	background-color: var(--color-surface, #f9f9f9);
	overflow: hidden;
	position: relative;
}

.brands-marquee-wrapper {
	position: relative;
	width: 100%;
	margin-top: 2.5rem;
	overflow: hidden;
	mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
	-webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.brands-marquee {
	display: flex;
	width: 100%;
	overflow: hidden;
	user-select: none;
}

.brands-marquee__track {
	display: flex;
	width: max-content;
	animation: brandsMarqueeScroll var(--marquee-duration, 25s) linear infinite;
	will-change: transform;
}

.brands-marquee.pause-on-hover:hover .brands-marquee__track {
	animation-play-state: paused;
}

.brands-marquee__group {
	display: flex;
	align-items: center;
	justify-content: space-around;
	gap: 4rem;
	padding-right: 4rem;
	flex-shrink: 0;
}

.brand-item {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 75px;
	min-width: 150px;
}

.brand-item a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.brand-item img {
	max-height: 55px;
	max-width: 170px;
	width: auto;
	object-fit: contain;
	transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

/* Grayscale effect */
.brands-marquee-wrapper.is-grayscale .brand-item img {
	filter: grayscale(100%);
	opacity: 0.6;
}

.brands-marquee-wrapper.is-grayscale .brand-item:hover img {
	filter: grayscale(0%);
	opacity: 1;
	transform: scale(1.08);
}

@keyframes brandsMarqueeScroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

@media (max-width: 768px) {
	.brands-section {
		padding: 3rem 0 2rem;
	}
	.brands-marquee__group {
		gap: 2.5rem;
		padding-right: 2.5rem;
	}
	.brand-item {
		height: 55px;
		min-width: 120px;
	}
	.brand-item img {
		max-height: 42px;
		max-width: 130px;
	}
}

