/**
 * Solucion Total - Main Styles
 * Inspired by AdsBoard template
 */

:root {
	--st-primary: #152054;
	--st-accent: #F5B800;
	--st-dark: #0d1330;
	--st-text: #4a5568;
	--st-light: #f5f7fb;
	--st-white: #ffffff;
	--st-font: 'DM Sans', system-ui, -apple-system, sans-serif;
	--st-radius: 8px;
	--st-shadow: 0 10px 40px rgba(21, 32, 84, 0.12);
	--st-transition: 0.3s ease;
	--st-container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--st-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--st-text);
	background: var(--st-white);
	-webkit-font-smoothing: antialiased;
}

body.st-modal-open {
	overflow: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--st-primary); text-decoration: none; transition: color var(--st-transition); }
a:hover { color: var(--st-accent); }

.st-container {
	width: 100%;
	max-width: var(--st-container);
	margin: 0 auto;
	padding: 0 20px;
}

.st-text-center { text-align: center; }

/* ===== TOPBAR ===== */
.st-topbar {
	background: var(--st-dark);
	color: rgba(255,255,255,0.85);
	font-size: 13px;
	padding: 10px 0;
}

.st-topbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.st-topbar-left, .st-topbar-right {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
}

.st-topbar-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255,255,255,0.85);
}

.st-topbar-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.st-topbar-item:hover { color: var(--st-accent); }

body.admin-bar .st-hero-slide.is-active,
body.admin-bar .st-hero-content {
	min-height: calc(100svh - var(--st-mobile-header, 76px) - 46px);
}

@media (max-width: 782px) {
	body.admin-bar .st-hero-slide.is-active,
	body.admin-bar .st-hero-content {
		min-height: calc(100svh - var(--st-mobile-header, 76px) - 46px);
	}
}

@media (max-width: 768px) {
	:root {
		--st-mobile-header: 76px;
	}

	body:has(.st-topbar) {
		--st-mobile-header: 112px;
	}
}

/* ===== HEADER ===== */
.st-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--st-white);
	box-shadow: 0 2px 20px rgba(0,0,0,0.06);
	transition: box-shadow var(--st-transition);
}

.st-header.is-scrolled { box-shadow: 0 4px 30px rgba(21,32,84,0.15); }

.st-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 20px;
	gap: 20px;
}

.st-logo img, .st-logo .custom-logo { max-height: 70px; width: auto; }

.st-nav-list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 8px;
}

.st-nav-list li a {
	display: block;
	padding: 10px 16px;
	font-weight: 600;
	font-size: 15px;
	color: var(--st-dark);
	border-radius: var(--st-radius);
	transition: all var(--st-transition);
}

.st-nav-list li a:hover,
.st-nav-list li.current-menu-item a {
	color: var(--st-primary);
	background: rgba(245, 184, 0, 0.12);
}

.st-header-cta { display: inline-flex; }

.st-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.st-menu-toggle span {
	display: block;
	height: 2px;
	background: var(--st-primary);
	border-radius: 2px;
	transition: var(--st-transition);
}

.st-menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.st-menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.st-menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.st-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 28px;
	font-family: var(--st-font);
	font-size: 15px;
	font-weight: 700;
	border: none;
	border-radius: var(--st-radius);
	cursor: pointer;
	transition: all var(--st-transition);
	text-decoration: none;
}

.st-btn-primary {
	background: var(--st-primary);
	color: var(--st-white);
}

.st-btn-primary:hover {
	background: var(--st-dark);
	color: var(--st-white);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(21,32,84,0.3);
}

.st-btn-accent {
	background: var(--st-accent);
	color: var(--st-dark);
}

.st-btn-accent:hover {
	background: #e5a800;
	color: var(--st-dark);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(245,184,0,0.4);
}

.st-btn-lg { padding: 16px 36px; font-size: 16px; }

.st-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: var(--st-primary);
}

.st-link svg { width: 16px; height: 16px; transition: transform var(--st-transition); }
.st-link:hover svg { transform: translateX(4px); }

/* ===== TAGS & TITLES ===== */
.st-tag {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--st-accent);
	margin-bottom: 12px;
}

.st-tag-light { color: var(--st-accent); }

.st-section-title {
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 800;
	color: var(--st-dark);
	line-height: 1.2;
	margin: 0 0 16px;
}

.st-section-title.st-light { color: var(--st-white); }

.st-section-desc {
	font-size: 17px;
	color: var(--st-text);
	max-width: 650px;
	margin: 0 auto;
}

.st-section-header { margin-bottom: 50px; }

.st-section { padding: 90px 0; }

.st-section-dark { background: var(--st-primary); }

/* ===== HERO ===== */
.st-hero {
	position: relative;
	min-height: 85vh;
	overflow: hidden;
}

.st-hero-slider { position: relative; height: 85vh; }

.st-hero-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease, visibility 0.8s ease;
}

.st-hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.st-hero-media {
	position: absolute;
	inset: 0;
}

.st-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1.05);
	transition: transform 8s ease;
}

.st-hero-slide.is-active .st-hero-bg { transform: scale(1); }

.st-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(13,19,48,0.88) 0%, rgba(21,32,84,0.65) 50%, rgba(13,19,48,0.75) 100%);
}

.st-hero-content {
	position: relative;
	z-index: 2;
	height: 85vh;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.st-hero-text {
	max-width: 700px;
	flex: 1 1 55%;
	color: var(--st-white);
}

/* Hero — iconos flotantes (servicios) + botón Contactar */
.st-hero-visual {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.st-hero-icons {
	position: relative;
	flex: 0 0 320px;
	width: 320px;
	height: 320px;
}

.st-hero-icon-orbit {
	position: absolute;
	inset: 0;
	border: 2px dashed rgba(245, 184, 0, 0.28);
	border-radius: 50%;
	animation: st-hero-orbit-spin 36s linear infinite;
}

.st-hero-icon-orbit--inner {
	inset: 28px;
	border-style: dotted;
	border-color: rgba(255, 255, 255, 0.15);
	animation-direction: reverse;
	animation-duration: 24s;
}

.st-hero-icon-plus {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 72px;
	font-weight: 800;
	color: var(--st-accent);
	opacity: 0.2;
	line-height: 1;
	animation: st-hero-plus-pulse 3s ease-in-out infinite;
	pointer-events: none;
	user-select: none;
}

.st-hero-icon-item {
	position: absolute;
	width: 72px;
	height: 72px;
	background: linear-gradient(145deg, var(--st-accent) 0%, #e5a800 100%);
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	color: var(--st-dark);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
	border: 2px solid rgba(255, 255, 255, 0.35);
	opacity: 0;
	transform: scale(0.6);
	transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.st-hero-icon-item:hover {
	transform: scale(1.08) !important;
	box-shadow: 0 16px 40px rgba(245, 184, 0, 0.45);
}

.st-hero-icon-item svg {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}

.st-hero-icon-label {
	font-size: 9px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	line-height: 1.1;
	text-align: center;
	max-width: 64px;
}

.st-hero-icon-item--1 {
	top: 4%;
	left: 50%;
	margin-left: -36px;
	animation: st-hero-icon-float 4s ease-in-out infinite;
}

.st-hero-icon-item--2 {
	top: 28%;
	right: 0;
	animation: st-hero-icon-float 4s ease-in-out 0.5s infinite;
}

.st-hero-icon-item--3 {
	bottom: 8%;
	right: 12%;
	animation: st-hero-icon-float 4s ease-in-out 1s infinite;
}

.st-hero-icon-item--4 {
	bottom: 8%;
	left: 8%;
	animation: st-hero-icon-float 4s ease-in-out 1.5s infinite;
}

.st-hero-slide.is-active .st-hero-icon-item.st-hero-icon-visible {
	opacity: 1;
	transform: scale(1);
}

.st-hero-contact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 32px;
	font-size: 16px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	box-shadow: 0 8px 28px rgba(245, 184, 0, 0.45);
	opacity: 0;
	transform: translateY(12px);
	transition: transform var(--st-transition), box-shadow var(--st-transition);
	animation: st-hero-contact-pulse 2.5s ease-in-out infinite;
}

.st-hero-contact-btn:hover {
	transform: translateY(-2px) scale(1.03);
	box-shadow: 0 12px 36px rgba(245, 184, 0, 0.55);
	color: var(--st-dark);
}

.st-hero-contact-btn-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
}

.st-hero-contact-btn-icon svg {
	width: 22px;
	height: 22px;
}

.st-hero-slide.is-active .st-hero-contact-btn.st-hero-contact-visible {
	opacity: 1;
	transform: translateY(0);
}

@keyframes st-hero-orbit-spin {
	to { transform: rotate(360deg); }
}

@keyframes st-hero-plus-pulse {
	0%, 100% { opacity: 0.15; transform: translate(-50%, -50%) scale(1); }
	50% { opacity: 0.28; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes st-hero-icon-float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -6px; }
}

@keyframes st-hero-contact-pulse {
	0%, 100% { box-shadow: 0 8px 28px rgba(245, 184, 0, 0.45); }
	50% { box-shadow: 0 8px 36px rgba(245, 184, 0, 0.65), 0 0 0 8px rgba(245, 184, 0, 0.12); }
}

@media (max-width: 991px) {
	.st-hero-content {
		flex-direction: column;
		align-items: stretch;
		justify-content: flex-start;
		height: auto;
		min-height: 100%;
		padding-top: 28px;
		padding-bottom: 110px;
	}

	.st-hero-text {
		max-width: none;
		width: 100%;
		flex: 0 0 auto;
	}

	.st-hero-visual {
		width: 100%;
		margin-top: 12px;
		flex: 0 0 auto;
		flex-grow: 0;
		height: auto;
		gap: 8px;
		justify-content: flex-start;
		align-items: center;
	}

	.st-hero-icons {
		width: 100%;
		height: auto;
		min-height: 0;
		flex: 0 0 auto;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 10px;
		padding: 0;
		margin: 0;
	}

	.st-hero-icon-orbit,
	.st-hero-icon-orbit--inner,
	.st-hero-icon-plus {
		display: none;
	}

	.st-hero-icon-item {
		position: static;
		width: 64px;
		height: 64px;
		margin: 0;
		opacity: 1;
		transform: none;
		animation: none;
	}

	.st-hero-icon-item svg {
		width: 24px;
		height: 24px;
	}

	.st-hero-contact-btn {
		width: 100%;
		max-width: 320px;
		opacity: 1;
		transform: none;
		margin-top: 0;
		flex: 0 0 auto;
		align-self: center;
	}
}

@media (min-width: 992px) {
	.st-hero-visual {
		flex: 0 0 340px;
	}
}

.st-hero-subtitle {
	font-size: 18px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 3px;
	color: var(--st-accent);
	margin: 0 0 8px;
	opacity: 0.9;
}

.st-hero-title {
	font-size: clamp(36px, 6vw, 64px);
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 20px;
	color: var(--st-white);
}

.st-hero-desc {
	font-size: 18px;
	line-height: 1.8;
	margin: 0 0 32px;
	opacity: 0.9;
	max-width: 560px;
}

.st-hero-nav {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 10;
	display: flex;
	align-items: center;
	gap: 20px;
}

.st-hero-prev, .st-hero-next {
	width: 44px;
	height: 44px;
	border: 2px solid rgba(255,255,255,0.4);
	background: rgba(255,255,255,0.1);
	color: var(--st-white);
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	transition: all var(--st-transition);
	backdrop-filter: blur(4px);
}

.st-hero-prev:hover, .st-hero-next:hover {
	background: var(--st-accent);
	border-color: var(--st-accent);
	color: var(--st-dark);
}

.st-hero-dots { display: flex; gap: 8px; }

.st-hero-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.5);
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: all var(--st-transition);
}

.st-hero-dot.is-active,
.st-hero-dot:hover {
	background: var(--st-accent);
	border-color: var(--st-accent);
}

/* ===== FEATURES ===== */
.st-features { background: var(--st-light); }

.st-features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.st-feature-card {
	background: var(--st-white);
	padding: 40px 30px;
	border-radius: 12px;
	box-shadow: var(--st-shadow);
	transition: transform var(--st-transition), box-shadow var(--st-transition);
	border-bottom: 4px solid transparent;
}

.st-feature-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 50px rgba(21,32,84,0.15);
	border-bottom-color: var(--st-accent);
}

.st-feature-icon {
	width: 64px;
	height: 64px;
	background: linear-gradient(135deg, var(--st-primary), var(--st-dark));
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
	color: var(--st-accent);
}

.st-feature-icon svg { width: 32px; height: 32px; }

.st-feature-card h3 {
	font-size: 22px;
	font-weight: 700;
	color: var(--st-dark);
	margin: 0 0 12px;
}

.st-feature-card p {
	margin: 0 0 20px;
	color: var(--st-text);
}

/* ===== STATS ===== */
.st-stats {
	background: var(--st-accent);
	padding: 60px 0;
}

.st-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	text-align: center;
}

.st-stat-number {
	font-size: clamp(36px, 5vw, 52px);
	font-weight: 800;
	color: var(--st-dark);
	line-height: 1;
	margin-bottom: 8px;
}

.st-stat-label {
	font-size: 15px;
	font-weight: 600;
	color: var(--st-primary);
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* ===== ABOUT ===== */
.st-about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.st-about-text {
	font-size: 17px;
	margin-bottom: 28px;
}

.st-about-features {
	margin-top: 36px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.st-about-feature {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.st-about-feature-icon {
	width: 48px;
	height: 48px;
	background: rgba(245,184,0,0.15);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--st-primary);
	flex-shrink: 0;
}

.st-about-feature-icon svg { width: 22px; height: 22px; }

.st-about-feature h4 {
	margin: 0 0 4px;
	font-size: 17px;
	color: var(--st-dark);
}

.st-about-feature p { margin: 0; font-size: 15px; }

.st-about-media { position: relative; }

.st-about-image-wrap {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: var(--st-shadow);
}

.st-about-image-wrap img,
.st-about-video {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	display: block;
}

.st-about-image-wrap--video .st-about-video {
	background: var(--st-dark);
}

.st-about-badge {
	position: absolute;
	bottom: -20px;
	left: -20px;
	background: var(--st-accent);
	padding: 24px 32px;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(245,184,0,0.4);
}

.st-about-badge-number {
	display: block;
	font-size: 42px;
	font-weight: 800;
	color: var(--st-dark);
	line-height: 1;
}

.st-about-badge-label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--st-primary);
}

/* ===== VISION MISSION ===== */
.st-vision-mission { background: var(--st-light); padding: 70px 0; }

.st-vm-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.st-vm-card {
	background: var(--st-white);
	padding: 40px;
	border-radius: 16px;
	box-shadow: var(--st-shadow);
	border-left: 5px solid var(--st-primary);
}

.st-vm-card-accent {
	border-left-color: var(--st-accent);
	background: var(--st-primary);
	color: var(--st-white);
}

.st-vm-card.st-vm-card-accent h3 { color: var(--st-white); }
.st-vm-card-accent p { color: rgba(255,255,255,0.85); }
.st-vm-card-accent .st-vm-icon { background: rgba(245,184,0,0.2); color: var(--st-accent); }

.st-vm-icon {
	width: 56px;
	height: 56px;
	background: rgba(21,32,84,0.08);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	color: var(--st-primary);
}

.st-vm-icon svg { width: 28px; height: 28px; }

.st-vm-card h3 {
	font-size: 24px;
	font-weight: 800;
	margin: 0 0 16px;
	color: var(--st-primary);
}

.st-vm-card p { margin: 0; line-height: 1.8; }

/* ===== SERVICES ===== */
.st-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.st-service-card {
	background: rgba(255,255,255,0.08);
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 16px;
	padding: 36px 28px;
	transition: all var(--st-transition);
	backdrop-filter: blur(4px);
}

.st-service-card:hover {
	background: rgba(255,255,255,0.14);
	transform: translateY(-4px);
	border-color: var(--st-accent);
}

.st-service-icon {
	width: 56px;
	height: 56px;
	background: var(--st-accent);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	color: var(--st-dark);
	transition: transform var(--st-transition), box-shadow var(--st-transition);
}

.st-service-icon-animate:not(.animate__animated) {
	opacity: 0;
	transform: scale(0.5);
}

.st-service-icon-animate.st-service-icon-active {
	animation: st-service-icon-pulse 2.8s ease-in-out infinite;
}

.st-service-card:hover .st-service-icon {
	transform: scale(1.12) rotate(-6deg);
	box-shadow: 0 8px 24px rgba(245, 184, 0, 0.45);
}

.st-service-card:hover .st-service-icon.st-service-icon-active {
	animation: none;
	transform: scale(1.12) rotate(-6deg);
}

.st-service-icon svg { width: 28px; height: 28px; transition: transform var(--st-transition); }

.st-service-card:hover .st-service-icon svg {
	transform: scale(1.05);
}

.st-service-card h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--st-white);
	margin: 0 0 16px;
}

.st-service-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.st-service-card li {
	color: rgba(255,255,255,0.8);
	padding: 6px 0;
	padding-left: 20px;
	position: relative;
	font-size: 15px;
}

.st-service-card li::before {
	content: '+';
	position: absolute;
	left: 0;
	color: var(--st-accent);
	font-weight: 700;
}

/* ===== PORTFOLIO ===== */
.st-portfolio-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.st-portfolio-item { border-radius: 12px; overflow: hidden; }

.st-portfolio-image { border-radius: 12px; }

.st-portfolio-trigger {
	display: block;
	width: 100%;
	padding: 0;
	border: none;
	background: none;
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	cursor: pointer;
	text-align: left;
	font: inherit;
	color: inherit;
	-webkit-appearance: none;
	appearance: none;
}

.st-portfolio-trigger:focus-visible {
	outline: 3px solid var(--st-accent);
	outline-offset: 3px;
}

.st-portfolio-image img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.st-portfolio-item:hover .st-portfolio-image img { transform: scale(1.08); }

.st-portfolio-zoom {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 40px;
	height: 40px;
	background: rgba(245, 184, 0, 0.95);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--st-dark);
	opacity: 0;
	transform: scale(0.8);
	transition: opacity var(--st-transition), transform var(--st-transition);
	pointer-events: none;
}

.st-portfolio-zoom svg {
	width: 20px;
	height: 20px;
}

.st-portfolio-item:hover .st-portfolio-zoom {
	opacity: 1;
	transform: scale(1);
}

.st-portfolio-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(13,19,48,0.92) 0%, transparent 60%);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 24px;
	opacity: 0;
	transition: opacity var(--st-transition);
	pointer-events: none;
}

.st-portfolio-item:hover .st-portfolio-overlay { opacity: 1; }

.st-portfolio-cat {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--st-accent);
	margin-bottom: 4px;
}

.st-portfolio-overlay h3,
.st-portfolio-item-title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--st-white);
	display: block;
}

/* Portfolio lightbox modal */
.st-portfolio-modal[hidden] {
	display: none !important;
}

.st-portfolio-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.st-portfolio-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.st-portfolio-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(13, 19, 48, 0.88);
	backdrop-filter: blur(4px);
	border: none;
	cursor: pointer;
}

.st-portfolio-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(960px, 100%);
	max-height: calc(100vh - 48px);
	background: var(--st-white);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
	display: flex;
	flex-direction: column;
	transform: scale(0.92) translateY(16px);
	transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.st-portfolio-modal.is-open .st-portfolio-modal-dialog {
	transform: scale(1) translateY(0);
}

.st-portfolio-modal-close {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(13, 19, 48, 0.75);
	color: var(--st-white);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--st-transition), transform var(--st-transition);
}

.st-portfolio-modal-close:hover {
	background: var(--st-primary);
	transform: scale(1.05);
}

.st-portfolio-modal-image-wrap {
	background: var(--st-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	max-height: min(70vh, 640px);
	overflow: hidden;
}

.st-portfolio-modal-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(70vh, 640px);
	object-fit: contain;
}

.st-portfolio-modal-body {
	padding: 24px 28px 28px;
	text-align: center;
}

.st-portfolio-modal-cat {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--st-accent);
	margin-bottom: 8px;
}

.st-portfolio-modal-title {
	margin: 0 0 20px;
	font-size: 22px;
	font-weight: 800;
	color: var(--st-primary);
}

.st-portfolio-modal-contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.st-portfolio-modal-contact svg {
	width: 20px;
	height: 20px;
}

@media (max-width: 767px) {
	.st-portfolio-modal {
		padding: 12px;
		align-items: flex-end;
	}

	.st-portfolio-modal-dialog {
		max-height: calc(100vh - 24px);
		border-radius: 16px 16px 0 0;
	}

	.st-portfolio-modal-body {
		padding: 20px;
	}

	.st-portfolio-modal-title {
		font-size: 18px;
	}
}

/* ===== CTA ===== */
.st-cta {
	background: linear-gradient(135deg, var(--st-dark) 0%, var(--st-primary) 100%);
	padding: 90px 0;
}

.st-cta-inner {
	text-align: center;
	max-width: 750px;
	margin: 0 auto;
}

.st-cta-content h2 {
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	color: var(--st-white);
	margin: 0 0 16px;
}

.st-cta-content p {
	font-size: 17px;
	color: rgba(255,255,255,0.85);
	margin: 0 0 32px;
}

/* ===== BLOG ===== */
.st-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.st-blog-card {
	background: var(--st-white);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--st-shadow);
	transition: transform var(--st-transition);
}

.st-blog-card:hover { transform: translateY(-6px); }

.st-blog-thumb { display: block; overflow: hidden; }
.st-blog-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.5s ease; }
.st-blog-card:hover .st-blog-thumb img { transform: scale(1.05); }

.st-blog-body { padding: 24px; }

.st-blog-body time {
	font-size: 13px;
	color: var(--st-accent);
	font-weight: 600;
}

.st-blog-body h3 {
	margin: 8px 0 12px;
	font-size: 18px;
	line-height: 1.4;
}

.st-blog-body h3 a { color: var(--st-dark); }
.st-blog-body h3 a:hover { color: var(--st-primary); }

.st-blog-body p { margin: 0; font-size: 15px; }

/* ===== FOOTER ===== */
.st-footer {
	background: var(--st-dark);
	color: rgba(255,255,255,0.75);
	padding: 70px 0 0;
}

.st-footer-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 50px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}

.st-footer-logo-img { max-height: 80px; margin-bottom: 20px; }
.st-footer-brand p { font-size: 15px; line-height: 1.8; margin: 0 0 20px; }

.st-social-links { display: flex; gap: 12px; flex-wrap: wrap; }

.st-social-links a {
	display: inline-flex;
	padding: 8px 14px;
	background: rgba(255,255,255,0.08);
	border-radius: var(--st-radius);
	color: rgba(255,255,255,0.8);
	font-size: 13px;
	font-weight: 600;
}

.st-social-links a:hover { background: var(--st-accent); color: var(--st-dark); }

.st-footer h4 {
	color: var(--st-white);
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 20px;
}

.st-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.st-footer-links li { margin-bottom: 10px; }
.st-footer-links a { color: rgba(255,255,255,0.7); font-size: 15px; }
.st-footer-links a:hover { color: var(--st-accent); }

.st-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.st-footer-contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 15px;
}

.st-footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--st-accent); }
.st-footer-contact a { color: rgba(255,255,255,0.7); }
.st-footer-contact a:hover { color: var(--st-accent); }

.st-footer-bottom {
	padding: 24px 0;
	text-align: center;
}

.st-footer-bottom p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.5); }

/* ===== WHATSAPP FLOAT ===== */
.st-whatsapp-float {
	position: fixed;
	bottom: 28px;
	right: 28px;
	z-index: 9999;
	width: 60px;
	height: 60px;
	background: #25D366;
	color: var(--st-white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 24px rgba(37,211,102,0.5);
	transition: transform var(--st-transition), box-shadow var(--st-transition);
	animation: st-pulse 2s infinite;
}

.st-whatsapp-float svg { width: 32px; height: 32px; }

.st-whatsapp-float:hover {
	transform: scale(1.1);
	box-shadow: 0 8px 30px rgba(37,211,102,0.6);
	color: var(--st-white);
}

@keyframes st-pulse {
	0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.5); }
	50% { box-shadow: 0 6px 30px rgba(37,211,102,0.8), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ===== PAGE ===== */
.st-page-header {
	background: var(--st-primary);
	padding: 60px 0;
	text-align: center;
}

.st-page-title {
	color: var(--st-white);
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 800;
	margin: 0;
}

.st-page-header time { color: var(--st-accent); font-size: 14px; }

.st-content { max-width: 800px; }
.st-content h2, .st-content h3 { color: var(--st-dark); }

.st-404 { text-align: center; padding: 120px 0; }
.st-404 h1 { font-size: 120px; font-weight: 800; color: var(--st-accent); margin: 0; line-height: 1; }

/* ===== SVG ICONS IN TEXT ===== */
.st-topbar-item svg, .st-footer-contact svg { stroke: currentColor; fill: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
	.st-features-grid,
	.st-services-grid,
	.st-portfolio-grid,
	.st-blog-grid { grid-template-columns: repeat(2, 1fr); }

	.st-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.st-footer-grid { grid-template-columns: repeat(2, 1fr); }
	.st-about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
	.st-section { padding: 60px 0; }

	.st-nav {
		position: fixed;
		top: 0;
		right: -100%;
		width: 280px;
		height: 100vh;
		background: var(--st-white);
		box-shadow: -5px 0 30px rgba(0,0,0,0.15);
		padding: 80px 24px 24px;
		transition: right var(--st-transition);
		z-index: 999;
	}

	.st-nav.is-open { right: 0; }

	.st-nav-list { flex-direction: column; gap: 0; }
	.st-nav-list li a { padding: 14px 0; border-bottom: 1px solid var(--st-light); border-radius: 0; }

	.st-menu-toggle { display: flex; }
	.st-header-cta { display: none; }

	.st-features-grid,
	.st-services-grid,
	.st-portfolio-grid,
	.st-blog-grid,
	.st-vm-grid { grid-template-columns: 1fr; }

	.st-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.st-footer-grid { grid-template-columns: 1fr; }

	.st-hero {
		overflow: hidden;
		min-height: calc(100svh - var(--st-mobile-header, 76px));
	}

	.st-hero-slider {
		position: relative;
		height: calc(100svh - var(--st-mobile-header, 76px));
		min-height: calc(100svh - var(--st-mobile-header, 76px));
	}

	.st-hero-slide {
		position: absolute;
		inset: 0;
		height: auto;
		min-height: 100%;
		overflow: hidden;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.45s ease;
		pointer-events: none;
	}

	.st-hero-slide.is-active {
		opacity: 1;
		visibility: visible;
		z-index: 1;
		pointer-events: auto;
		overflow: visible;
	}

	.st-hero-bg {
		transform: none !important;
		transition: none;
	}

	.st-hero-slide.is-active .st-hero-bg {
		transform: none;
	}

	.st-hero-text,
	.st-hero-visual {
		opacity: 1;
		transition: opacity 0.35s ease;
	}

	.st-hero-text:not(.st-animate-visible) {
		opacity: 1;
	}

	.st-hero-icon-item {
		opacity: 1;
		transform: none;
		animation: none !important;
	}

	.st-hero-contact-btn {
		opacity: 1;
		transform: none;
		animation: none;
	}

	.st-hero-content {
		min-height: calc(100svh - var(--st-mobile-header, 76px));
		padding-top: max(24px, env(safe-area-inset-top, 0px));
		padding-bottom: 100px;
	}

	.st-hero-subtitle {
		font-size: 12px;
		letter-spacing: 2px;
		margin-bottom: 6px;
	}

	.st-hero-title {
		font-size: clamp(26px, 7.5vw, 36px);
		line-height: 1.15;
		margin-bottom: 14px;
	}

	.st-hero-desc {
		font-size: 15px;
		line-height: 1.65;
		margin-bottom: 20px;
	}

	.st-hero-text .st-tag {
		margin-bottom: 10px;
		font-size: 11px;
	}

	.st-hero-text .st-btn-lg {
		display: none;
	}

	.st-hero-icon-item {
		width: 56px;
		height: 56px;
	}

	.st-hero-icon-label {
		font-size: 8px;
	}

	.st-hero-visual {
		gap: 0;
		margin-top: 10px;
	}

	.st-hero-icons {
		margin-bottom: 0;
	}

	.st-hero-contact-btn {
		margin-top: 14px;
	}

	.st-hero-nav {
		bottom: 16px;
		gap: 14px;
	}

	.st-hero-slide.is-active .st-hero-text {
		opacity: 1;
	}

	.st-topbar-inner { justify-content: center; }
	.st-topbar-left { display: none; }

	.st-about-badge { left: 10px; bottom: -10px; padding: 16px 24px; }
	.st-about-badge-number { font-size: 32px; }
}

@media (max-width: 480px) {
	.st-stats-grid { grid-template-columns: 1fr; }
	.st-whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
	.st-whatsapp-float svg { width: 26px; height: 26px; }
}
