/* ==========================================
   Estilos Microsoft 365
   ========================================== */

/* Sección Header */
.microsoft-header-section {
	padding: 80px 0;
	background: #ffffff;
}

.microsoft-header-section .section-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #000000;
	margin-bottom: 50px;
}

.microsoft-header-section .section-title::after {
	display: none;
}

.header-image-container {
	padding: 20px;
	margin-bottom: 30px;
}

.header-text p {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #000000;
	margin-bottom: 30px;
}

/* Grid de Características */
.caracteristicas-grid {
	margin-top: 60px;
	row-gap: 30px;
}

.caracteristica-card {
	padding: 1px 20px;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	transition: transform 0.3s ease;
	height: 100%;
	margin-bottom: 20px;
	opacity: 0;
	transform: translateY(50px);
	transition: all 0.6s ease;
}

.caracteristica-card.animate-in {
	opacity: 1;
	transform: translateY(0);
}

.caracteristica-card:hover {
	transform: translateY(-5px);
	box-shadow: none;
}

.icon-container {
	width: 80px;
	height: 80px;
	margin: 0 auto 30px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.icon-img {
	width: 150px;
	height: 250px;
	object-fit: contain;
}

.caracteristica-title {
	font-size: 1rem;
	font-weight: 400;
	color: #000000;
	min-height: 60px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	text-align: center;
}

/* Sección Aplicaciones */
.microsoft-aplicaciones-section {
	padding: 50px 0;
	background: white;
	background-image: url("/IMG/Microsoft/apps/Apps.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.microsoft-aplicaciones-section .section-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #000000;
	margin-top: 30px;
	margin-bottom: 50px;
}

.microsoft-aplicaciones-section .section-title::after {
	display: none;
}

/* Carrusel de Aplicaciones */
.aplicaciones-carousel-wrapper {
	position: relative;
	padding: 0 80px;
	max-width: 1420px;
	margin: 0 auto;
}

.aplicaciones-cards-row {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
	padding: 20px 0;
	-ms-overflow-style: none;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
}

.aplicaciones-cards-row::-webkit-scrollbar {
	display: none;
}

.carousel-item-card {
	flex: 0 0 auto;
	scroll-snap-align: start;
}

.aplicaciones-cards-row > div {
	flex: 0 0 auto;
	width: 300px;
	scroll-snap-align: start;
}

.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	border-radius: 0;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10;
	padding: 0;
}

.carousel-btn:hover {
	transform: translateY(-50%) scale(1.1);
}

.carousel-btn img {
	width: 50px;
	height: 50px;
	object-fit: contain;
}

.carousel-btn-left {
	left: 10px;
}

.carousel-btn-right {
	right: 10px;
}

.aplicacion-card {
	border: 1px solid #00000049;
	padding: 50px 30px;
	background: #f8f9fa;
	border-radius: 15px;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	height: 100%;
	text-align: left;
}

.aplicacion-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 8px 25px rgba(0, 120, 212, 0.2);
}

.aplicacion-icon {
	margin-bottom: 15px;
}

.app-icon {
	width: 70px;
	height: 70px;
}

.aplicacion-nombre {
	font-size: 1.3rem;
	font-weight: 700;
	color: #000000;
	margin-bottom: 12px;
}

.aplicacion-descripcion {
	font-size: 1rem;
	color: #000000;
	line-height: 1.6;
	text-align: justify;
}

/* Sección Planes */
.microsoft-planes-section {
	padding: 60px 0;
	background: white;
	background-image: url("/IMG/Microsoft/planes/BGPlanes.png");
	background-size: 50%;
	background-position: top right;
	background-repeat: no-repeat;
	color: white;
}

.microsoft-planes-section .section-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #000000;
}

.microsoft-planes-section .section-title::after {
	display: none;
}

.plan-tipo-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
	position: relative;
}

.plan-tipo-card:not(.selected) {
	animation: pulse-scale 3s ease-in-out infinite;
}

.plan-tipo-card:hover {
	transform: scale(1.05);
}

.plan-tipo-card.selected {
	animation: none;
}

@keyframes pulse-scale {
	0%,
	100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.02);
	}
}

.plan-empresas {
	border: 3px solid #0077d5;
}

.plan-empresas.selected {
	border: none;
}

.plan-empresas .plan-info {
	background: #0077d5;
}

.plan-empresas .plan-titulo {
	color: #ffffff;
}

.plan-empresas .plan-subtitulo {
	color: #ffffff;
}

.plan-grandes-empresas {
	border: 4px solid #107c42;
}

.plan-grandes-empresas.selected {
	border: none;
}

.plan-grandes-empresas .plan-info {
	background: #ffffff;
	border: 2px solid #e0e0e0;
}

.plan-grandes-empresas .plan-titulo {
	color: #000000;
}

.plan-grandes-empresas .plan-subtitulo {
	color: #666666;
}

.plan-image img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.plan-info {
	padding: 20px;
	text-align: center;
	background: white;
	transition: all 0.3s ease;
}

.plan-titulo {
	font-size: 1.8rem;
	font-weight: 700;
	margin-bottom: 10px;
}

.plan-subtitulo {
	font-size: 1rem;
	color: #666;
}

/* Detalles de Planes */
.planes-detalle {
	margin-top: 40px;
}

/* Layout de filas de planes */
.plan-row {
	display: flex;
	gap: 20px;
	margin-bottom: 20px;
	align-items: center;
}

.plan-label {
	background: #0077d5;
	color: white;
	padding: 15px 20px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 1rem;
	font-weight: 700;
	width: 250px;
	height: 120px;
	flex-shrink: 0;
	line-height: 1.3;
}

.plan-label-green {
	background: #107c42;
}

.plan-content {
	background: white;
	border: 4px solid #0077d5;
	border-radius: 12px;
	padding: 20px 25px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.plan-content-green {
	border-color: #107c42;
}

.plan-content .apps-icons-row {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	margin-bottom: 10px;
}

.plan-content .app-icon-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	text-align: center;
	min-width: 80px;
}

.plan-content .app-icon-item img {
	width: 60px;
	height: 60px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	flex-shrink: 0;
}

.plan-content .app-icon-item span {
	font-size: 0.8rem;
	font-weight: 700;
	color: #333;
	text-align: center;
	display: block;
	width: 100%;
	min-height: 32px;
	line-height: 1.2;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.plan-content-text {
	font-size: 1.1rem;
	font-weight: 400;
	color: #000000;
	line-height: 1.6;
	margin-bottom: 15px;
}

.aplicaciones-365-card {
	background: #0077d5;
	padding: 30px;
	border-radius: 15px;
	box-shadow: none;
	height: 100%;
	border: none;
}

.aplicaciones-titulo {
	font-size: 1.3rem;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 20px;
	text-align: left;
}

.apps-icons-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 15px;
	margin-bottom: 20px;
}

.app-icon-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.app-icon-item img {
	width: 40px;
	height: 40px;
	background: white;
	border-radius: 8px;
	padding: 5px;
}

.app-icon-item span {
	font-size: 0.8rem;
	color: #ffffff;
}

.apps-descripcion {
	font-size: 0.95rem;
	color: #ffffff;
	text-align: left;
}

.plan-detalle-card {
	background: white;
	padding: 0;
	border-radius: 12px;
	box-shadow: none;
	overflow: hidden;
	border: 2px solid #e0e0e0;
}

.plan-basico {
	border: 2px solid #e0e0e0;
}

.plan-basico .plan-header {
	background: transparent;
	padding: 0;
	margin-bottom: 0;
}

.plan-basico .plan-nombre {
	color: #0077d5;
}

.plan-estandar {
	border: 2px solid #e0e0e0;
}

.plan-estandar .plan-header {
	background: transparent;
	padding: 0;
	margin-bottom: 0;
}

.plan-estandar .plan-nombre {
	color: #0077d5;
}

.plan-premium {
	border: 2px solid #e0e0e0;
}

.plan-premium .plan-header {
	background: transparent;
	padding: 0;
	margin-bottom: 0;
}

.plan-premium .plan-nombre {
	color: #0077d5;
}

.plan-header {
	margin-bottom: 15px;
}

.plan-nombre {
	font-size: 1.4rem;
	font-weight: 700;
	margin: 0;
}

.plan-apps {
	margin-top: 0;
	padding: 20px 25px;
}

.apps-icons-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 15px;
}

.apps-icons-row img {
	width: 35px;
	height: 35px;
}

.incluye-text,
.descripcion-text {
	font-size: 0.95rem;
	color: #666;
	margin: 0;
}

/* Sección Consola */
.microsoft-consola-section {
	padding: 60px 0;
	background: white;
	background-image: url("/IMG/Microsoft/BGConsola.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.microsoft-consola-section .section-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #000000;
}

.microsoft-consola-section .section-title::after {
	display: none;
}

.consola-lista {
	list-style: none;
	padding-left: 0;
}

.consola-item {
	display: flex;
	align-items: center;
	padding: 8px 0;
	font-size: 1.4rem;
	color: #333;
	border-bottom: none;
	padding-left: 0;
}

.consola-item::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	background-image: url("/IMG/Microsoft/Check.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-right: 15px;
	flex-shrink: 0;
}

.consola-item:last-child {
	border-bottom: none;
}

.consola-item i {
	display: none;
}

.consola-image img {
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Sección Clientes */
.microsoft-clientes-section {
	padding: 80px 0;
	background: #ffffff;
}

.microsoft-clientes-section .section-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #000000;
}

.microsoft-clientes-section .section-title::after {
	display: none;
}

.clientes-logos {
	gap: 5px;
	row-gap: 15px;
}

.cliente-logo-container {
	padding: 5px;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	display: flex;
	align-items: center;
	justify-content: center;
	height: auto;
	transition: transform 0.3s ease;
}

.cliente-logo-container:hover {
	transform: scale(1.1);
}

.cliente-logo {
	max-width: 80%;
	max-height: 80px;
	object-fit: contain;
}

/* Sección Mercado */
.microsoft-mercado-section {
	padding: 80px 0;
	background: #ffffff;
}

.microsoft-mercado-section .section-title {
	font-size: 2.5rem;
	font-weight: 700;
	color: #000000;
}

.microsoft-mercado-section .section-title::after {
	display: none;
}

.mercado-grid {
	gap: 0px;
	row-gap: 90px;
}

.mercado-card {
	background: transparent;
	padding: 10px;
	border-radius: 0;
	box-shadow: none;
	transition: none;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.mercado-card:hover {
	transform: none;
	box-shadow: none;
}

.mercado-icon {
	width: 180px;
	height: 180px;
	margin: 0 auto 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border-radius: 0;
	flex-shrink: 0;
}

.icon-mercado {
	width: 180px;
	height: 180px;
	filter: none;
	object-fit: contain;
}

.mercado-nombre {
	font-size: 1.3rem;
	font-weight: 600;
	color: #333;
	min-height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	width: 100%;
}

/* Utilidades generales */
.section-title {
	position: relative;
	padding-bottom: 15px;
}

.section-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, #0077d5, #00bcf2);
	border-radius: 2px;
}
